DisplaySettingsViewModel

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.

Constructors

Link copied to clipboard
constructor(displayPreferences: DisplayPreferencesRepository, themePreferences: ThemePreferencesRepository, telemetryRepository: TelemetryRepository)

Properties

Link copied to clipboard
val messages: StateFlow<ImmutableList<UiMessage>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard