mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Also delete the preference file when the store is reset.
This commit is contained in:
+2
-2
@@ -100,7 +100,7 @@ class UserPushStoreDataStore(
|
|||||||
context.dataStore.edit {
|
context.dataStore.edit {
|
||||||
it.clear()
|
it.clear()
|
||||||
}
|
}
|
||||||
}
|
// Also delete the file
|
||||||
|
context.preferencesDataStoreFile(preferenceName).delete()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user