SettingsViewModel
ViewModel that combines persisted settings, keys, granted API apps and accessibility state into a single SettingsUiState and applies user changes.
Constructors
Functions
Updates the cached accessibility-service enabled flag.
Refreshes all stored keys from the configured keyserver, reporting progress via status.
Revokes all API access and allowed keys for the given caller package.
Allows or blocks screenshots/screen recording of sensitive screens.
Sets the in-app language override.
Enables or disables Autocrypt header handling.
Toggles periodic backup reminders.
Sets the key preselected for encryption, or clears it when null.
Sets the key preselected for signing, or clears it when null.
Enables or disables keyserver lookups.
Sets the keyserver base URL (trimmed).
Enables or disables the encrypt/decrypt overlay globally.
Toggles showing fingerprints in the key list.
Toggles visibility of the floating overlay action buttons.