Simplify phone vault screen and settings navigation

This commit is contained in:
Joe Julian
2026-04-02 21:50:36 -07:00
parent 3667fce5f4
commit b76cb7e1df
3 changed files with 300 additions and 186 deletions
+5
View File
@@ -37,6 +37,8 @@ func (u *ui) processShortcuts(gtx layout.Context) {
key.Filter{Name: key.NameUpArrow},
key.Filter{Name: key.NameDownArrow},
key.Filter{Name: key.NameReturn},
key.Filter{Name: key.NameBack},
key.Filter{Name: key.NameEscape},
)
if !ok {
break
@@ -48,6 +50,9 @@ func (u *ui) processShortcuts(gtx layout.Context) {
}
u.handleKeyPress(ke.Name, ke.Modifiers)
if ke.Name == key.NameBack || ke.Name == key.NameEscape {
_ = u.handlePhoneBack()
}
}
}