Modify badge API

Pass searchable as argument instead of badgeKey which is now obsolete
This commit is contained in:
MM20
2022-03-05 15:25:57 +01:00
parent 9100af75bf
commit 47e7591975
25 changed files with 60 additions and 66 deletions
@@ -16,9 +16,6 @@ abstract class Searchable : Comparable<Searchable> {
abstract val key: String
abstract val label: String
open val badgeKey
get() = key
open fun serialize(): String = ""
open fun getLaunchIntent(context: Context): Intent? = null