implement data store for extension prefs

This commit is contained in:
Aria Moradi
2021-08-06 03:37:09 +04:30
parent 53cc73701c
commit afabaccf1d
4 changed files with 54 additions and 1 deletions

View File

@@ -44,4 +44,4 @@ interface Source {
// fun Source.icon(): Drawable? = Injekt.get<ExtensionManager>().getAppIconForSource(this)
// fun Source.getPreferenceKey(): String = "source_$id"
fun Source.getPreferenceKey(): String = "source_$id"