ThemeSettingsUiState
data class ThemeSettingsUiState(val preferences: Loadable<ThemePreferencesState> = Loadable.Loading, val seasonalThemesUnlocked: Boolean = false, val weatherEffect: WeatherEffect = WeatherEffect.Automatic)(source)
What the theme settings page shows.
The three fields change together: preferences becomes Loadable.Ready in the same update that sets the unlock and the weather effect, so the palette rows never open on a partial state.
Constructors
Link copied to clipboard
constructor(preferences: Loadable<ThemePreferencesState> = Loadable.Loading, seasonalThemesUnlocked: Boolean = false, weatherEffect: WeatherEffect = WeatherEffect.Automatic)
Properties
Link copied to clipboard
The stored theme preferences.
Link copied to clipboard
Whether the About screen easter egg was found, which keeps the Christmas and Halloween palettes in the palette list all year, and offers the weather effect menu in the app bar.
Link copied to clipboard
What falls over the app.