Fixes geohash cache saving
This commit is contained in:
@@ -451,11 +451,11 @@ object LocalPreferences {
|
|||||||
|
|
||||||
if (settings.backupGeohashList != null) {
|
if (settings.backupGeohashList != null) {
|
||||||
putString(
|
putString(
|
||||||
PrefKeys.LATEST_HASHTAG_LIST,
|
PrefKeys.LATEST_GEOHASH_LIST,
|
||||||
JsonMapper.mapper.writeValueAsString(settings.backupGeohashList),
|
JsonMapper.mapper.writeValueAsString(settings.backupGeohashList),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
remove(PrefKeys.LATEST_HASHTAG_LIST)
|
remove(PrefKeys.LATEST_GEOHASH_LIST)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.backupEphemeralChatList != null) {
|
if (settings.backupEphemeralChatList != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user