DisplayPreferencesDataSource

Persisted display preferences: language, startup destination, and interaction chrome.

Inheritors

Properties

Link copied to clipboard
abstract val bouncyButtons: Flow<Boolean>
Link copied to clipboard
abstract val language: Flow<String>

Emits the stored language tag, defaulting to en.

Link copied to clipboard
abstract val showBottomBarLabels: Flow<Boolean>

Functions

Link copied to clipboard
abstract suspend fun saveBouncyButtons(isChecked: Boolean)
Link copied to clipboard
abstract suspend fun saveLanguage(language: String)
Link copied to clipboard
abstract suspend fun saveShowBottomBarLabels(isChecked: Boolean)
Link copied to clipboard
abstract suspend fun saveStartupPage(route: String)
Link copied to clipboard
abstract fun startupPage(default: String = ""): Flow<String>

Emits the preferred startup route.