PreferenceHelper

Platform-specific storage for theme preference. Implementations persist the selected ThemeEnum (e.g. SharedPreferences on Android, Preferences on JVM).

Properties

Link copied to clipboard
abstract var themeEnum: ThemeEnum

The stored theme. Reading returns the last saved value; writing persists it.

Functions

Link copied to clipboard
abstract fun clear()

Clears all stored theme preference data.