fix(keychain): persist access state, update granted UI, and resolve build errors

This commit is contained in:
NimBold
2026-06-24 15:45:21 +03:30
parent af2c101ca8
commit 6f426c1a18
6 changed files with 28 additions and 8 deletions
+2
View File
@@ -278,6 +278,8 @@ pub struct PersistedSettings {
// frontend. The field is kept on legacy persisted JSON only; serde ignores
// unknown fields when decoding, so existing installs migrate cleanly.
pub auto_check_updates: bool,
#[serde(default)]
pub keychain_access_granted: bool,
}
#[derive(Clone, Debug, Serialize, TS)]
+1
View File
@@ -289,6 +289,7 @@ fn default_settings() -> PersistedSettings {
media_cookie_source: MediaCookieSource::None,
site_logins: Vec::new(),
auto_check_updates: true,
keychain_access_granted: false,
}
}