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 8490b0c19d
commit 40e401c599

View file

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