Instantiate extension preferences with proper datastore earlier

This commit is contained in:
arkon
2021-05-08 19:52:31 -04:00
parent 4bfd395d9f
commit 5700c7a0c7
2 changed files with 5 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ class EmptyPreferenceDataStore : PreferenceDataStore() {
}
override fun getStringSet(key: String?, defValues: Set<String>?): Set<String>? {
return emptySet()
return null
}
override fun putStringSet(key: String?, values: Set<String>?) {