SettingsThemeModeStore

class SettingsThemeModeStore(settings: Settings) : ThemeModeStore

Backed by multiplatform-settings rather than androidx.datastore: DataStore's non-Android/web targets are not yet shipped, while this library has full wasmJs support (Web Storage-backed), which this app's target list requires.

Constructors

Link copied to clipboard
constructor(settings: Settings)

Properties

Link copied to clipboard
open override val themeModeFlow: StateFlow<ThemeMode>

Functions

Link copied to clipboard
open override fun get(): ThemeMode
Link copied to clipboard
open override fun set(mode: ThemeMode)