Also delete the preference file when the store is reset.
This commit is contained in:
parent
8490b0c19d
commit
40e401c599
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ class UserPushStoreDataStore(
|
|||
context.dataStore.edit {
|
||||
it.clear()
|
||||
}
|
||||
}
|
||||
|
||||
// Also delete the file
|
||||
context.preferencesDataStoreFile(preferenceName).delete()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue