From 5069d8dee6bfda42f9841112048b276d761ebec6 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 8 May 2021 17:23:48 -0400 Subject: [PATCH] Fix MultiSelectListPreference crash in extensions --- .../tachiyomi/data/preference/EmptyPreferenceDataStore.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/preference/EmptyPreferenceDataStore.kt b/app/src/main/java/eu/kanade/tachiyomi/data/preference/EmptyPreferenceDataStore.kt index 2f2081a27..3562b2748 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/preference/EmptyPreferenceDataStore.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/preference/EmptyPreferenceDataStore.kt @@ -40,7 +40,7 @@ class EmptyPreferenceDataStore : PreferenceDataStore() { } override fun getStringSet(key: String?, defValues: Set?): Set? { - return null + return emptySet() } override fun putStringSet(key: String?, values: Set?) {