Also delete the preference file when the store is reset.

This commit is contained in:
Benoit Marty
2024-01-16 14:14:04 +01:00
parent 9f4164a287
commit 504ff46f1b

View File

@@ -100,7 +100,7 @@ class UserPushStoreDataStore(
context.dataStore.edit {
it.clear()
}
}
// Also delete the file
context.preferencesDataStoreFile(preferenceName).delete()
}
}