Implement adaptive Android shell and safe navigation (#102)
Android ARM verification / rust (push) Failing after 47m11s
Android ARM verification / android (push) Failing after 8s
Dependency security audit / rustsec (push) Successful in 25s

This commit is contained in:
hugo committed 2026-10-09 20:33:31 +02:00
1 parent c7703d8efd
commit d22d71eb5e
32 files changed
+2194 -104

No files matched your search

+6
View File
@@ -105,6 +105,7 @@ pub enum MobileShellState {
Ready,
Locked,
Error,
Stale,
}
#[derive(Clone, Debug, Eq, PartialEq)]
@@ -250,6 +251,10 @@ fn state_copy(tab: MobileTab, state: MobileShellState, error: Option<&str>) -> (
"IronStorage is Locked".to_owned(),
"Authenticate to reveal protected content.".to_owned(),
),
MobileShellState::Stale => (
"Password Store Changed".to_owned(),
"Refresh to load the current repository state.".to_owned(),
),
MobileShellState::Error => (
"IronStorage Is Unavailable".to_owned(),
error
@@ -275,6 +280,7 @@ mod tests {
MobileShellState::Ready,
MobileShellState::Locked,
MobileShellState::Error,
MobileShellState::Stale,
] {
let shell = MobileShell::fixture(state);
assert_eq!(shell.selected_tab(), MobileTab::Home);