Skip to content

Instantly share code, notes, and snippets.

@meet30997
Created September 6, 2022 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meet30997/699a7af054cffbcf39393f38c28033a9 to your computer and use it in GitHub Desktop.
Save meet30997/699a7af054cffbcf39393f38c28033a9 to your computer and use it in GitHub Desktop.
Clear Data Store
suspend fun clearDatStore() {
dataStore.edit { myDataStore ->
myDataStore.clear()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment