Skip to content

Instantly share code, notes, and snippets.

@karim-eg
Created September 7, 2023 20:54
Show Gist options
  • Save karim-eg/be100d0c98eda1cd1213143babd815a4 to your computer and use it in GitHub Desktop.
Save karim-eg/be100d0c98eda1cd1213143babd815a4 to your computer and use it in GitHub Desktop.
Delete Saved Data In DataStore
private suspend fun deleteUserData() {
user.edit { usrData ->
usrData.clear()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment