mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-22 16:23:50 +00:00
fix build
This commit is contained in:
parent
069d4c61b7
commit
0acac205af
@ -52,7 +52,9 @@ class KeyValueStore<T : Any> internal constructor (
|
||||
}
|
||||
}
|
||||
|
||||
override fun onSharedPreferenceChanged(sp: SharedPreferences, key: String) {
|
||||
override fun onSharedPreferenceChanged(sp: SharedPreferences?, key: String?) {
|
||||
sp ?: return
|
||||
key ?: return
|
||||
val value = sp.all[key]
|
||||
cachedData ?: return
|
||||
if (value != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user