diff --git a/core/.changelog.d/4176.fixed b/core/.changelog.d/4176.fixed new file mode 100644 index 0000000000..2fe8f718c6 --- /dev/null +++ b/core/.changelog.d/4176.fixed @@ -0,0 +1 @@ +[T3T1] Add swipe back in fido confirm flow menu. diff --git a/core/embed/rust/src/ui/model_mercury/flow/confirm_fido.rs b/core/embed/rust/src/ui/model_mercury/flow/confirm_fido.rs index 7e569d2373..6c2bf97324 100644 --- a/core/embed/rust/src/ui/model_mercury/flow/confirm_fido.rs +++ b/core/embed/rust/src/ui/model_mercury/flow/confirm_fido.rs @@ -49,6 +49,13 @@ impl FlowController for ConfirmFido { fn handle_swipe(&'static self, direction: Direction) -> Decision { match (self, direction) { (Self::Intro, Direction::Left) => Self::Menu.swipe(direction), + (Self::Menu, Direction::Right) => { + if Self::single_cred() { + Self::Details.swipe_right() + } else { + Self::Intro.swipe_right() + } + } (Self::Intro, Direction::Up) => Self::ChooseCredential.swipe(direction), (Self::ChooseCredential, Direction::Down) => Self::Intro.swipe(direction), (Self::Details, Direction::Up) => Self::Tap.swipe(direction),