Package-level declarations

Types

Link copied to clipboard

Migrates the legacy ads opt-out to the release-visible reduced-ads preference.

Link copied to clipboard

Display preferences stored in the shared settings Preferences DataStore.

Seasonal preferences in the shared settings DataStore. Unknown weather-effect names use WeatherEffect.Automatic; unknown season names produce no holiday snapshot. Snapshot fields are written or cleared in one transaction.

Link copied to clipboard

Appearance preferences stored in the shared settings Preferences DataStore.

Link copied to clipboard

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

Link copied to clipboard

Persisted seasonal theme state: the easter egg unlock, the weather effect, and holiday bookkeeping.

Link copied to clipboard

Persisted appearance preferences: theme mode, AMOLED, and palette selection.

Properties

Link copied to clipboard

The toolkit's single settings Preferences DataStore file, shared by the preference data sources of every module. dataStoreModule binds it as DataStore<Preferences>; a module keeps its own source over it, with its own keys, in its data/local package.

Functions

Link copied to clipboard
inline suspend fun <T> storageCall(crossinline block: suspend () -> T): T

Runs block, a read or write of local storage, and rethrows a storage failure as StorageException.