InMemoryThemeStore

Default seam: holds the choice for the process lifetime only.

Functions

Link copied to clipboard
open override fun darkOverride(): Boolean?

The persisted dark-mode choice, or null if the user hasn't chosen yet (→ use the default).

Link copied to clipboard
open override fun setDark(dark: Boolean)

Persist the user's dark-mode choice.