OnboardingThemeViewModel

ViewModel for the onboarding theme page. It reads and writes the same ThemePreferencesRepository as the theme settings page, so a choice made here is the app's theme from then on.

A failed write shows an error message. A failed read is reported and the page keeps what it showed last.

Constructors

Link copied to clipboard
constructor(preferences: ThemePreferencesRepository, seasonal: SeasonalThemeRepository, 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