Package-level declarations

Types

Link copied to clipboard
class InMemoryShellPreferencesRepository(initial: ShellSettings = ShellSettings(), val defaults: ShellSettings = ShellSettings()) : ShellPreferencesRepository

ShellPreferencesRepository kept in memory, for tests, previews, and apps that do not persist the shell's settings. Starts from initial, and a reset returns to defaults.

Link copied to clipboard

Functions

Link copied to clipboard

The shell's own store: a DataStore shared by every instance built from the same application. It saves the settings someone chose and reads the rest as defaults, so changing defaults in a later release reaches only the people who never chose.