Package-level declarations
Types
Link copied to clipboard
class DisplaySettingsViewModel(displayPreferences: DisplayPreferencesRepository, themePreferences: ThemePreferencesRepository, telemetryRepository: TelemetryRepository) : LoggedScreenViewModel<DisplaySettingsUiState, DisplaySettingsEvent>
Follows and stores the display preferences the display settings screen shows. A failed read replaces them with a retryable failure; a failed write keeps them on screen and shows an error message. The shell's layout choices are written by the screen itself, not here.