Skip to content

Commit

Permalink
Make time style "Auto" the default
Browse files Browse the repository at this point in the history
  • Loading branch information
isaakhanimann committed Oct 20, 2024
1 parent d6bf3cd commit c6875fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class UserPreferences @Inject constructor(private val dataStore: DataStore<Prefe

val savedTimeDisplayOptionFlow: Flow<SavedTimeDisplayOption> = dataStore.data
.map { preferences ->
val name = preferences[PreferencesKeys.KEY_TIME_DISPLAY_OPTION] ?: SavedTimeDisplayOption.REGULAR.name
val name = preferences[PreferencesKeys.KEY_TIME_DISPLAY_OPTION] ?: SavedTimeDisplayOption.AUTO.name
SavedTimeDisplayOption.valueOf(name)
}

Expand Down

0 comments on commit c6875fa

Please sign in to comment.