Compare commits

...

2 Commits

Author SHA1 Message Date
fad522b8fe Update CHANGELOG.md 2023-08-24 03:00:08 +06:00
0acac205af fix build 2023-08-24 02:17:27 +06:00
2 changed files with 7 additions and 1 deletions

View File

@@ -3,6 +3,10 @@
## 0.20.2
* All main repos uses `SmartRWLocker`
* `Versions`:
* `Serialization`: `1.5.1` -> `1.6.0`
* `Exposed`: `0.42.0` -> `0.42.1`
* `Androis SDK`: `33` -> `34`
## 0.20.1

View File

@@ -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) {