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