Skip to content

Instantly share code, notes, and snippets.

@karim-eg
Created September 7, 2023 17:37
Show Gist options
  • Save karim-eg/d695fc083a19bc1901f90c3fec5e439f to your computer and use it in GitHub Desktop.
Save karim-eg/d695fc083a19bc1901f90c3fec5e439f to your computer and use it in GitHub Desktop.
DataStore Keys
object DataStoreKeys {
val USER_NAME = stringPreferencesKey("user_name")
val EMAIL = stringPreferencesKey("email")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment