mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-28 16:21:03 +00:00
chore(core): Fix swipe-back action in tutorial flow menu
This commit is contained in:
parent
99742e4862
commit
71db065e4a
1
core/.changelog.d/4294.fixed
Normal file
1
core/.changelog.d/4294.fixed
Normal file
@ -0,0 +1 @@
|
||||
[T3T1] Make swipe back action in tutorial flow menu consistent with menu cancel action.
|
@ -52,7 +52,7 @@ impl FlowController for ShowTutorial {
|
||||
(Self::StepMenu, Direction::Down) => Self::StepNavigation.swipe(direction),
|
||||
(Self::StepMenu, Direction::Left) => Self::Menu.swipe(direction),
|
||||
(Self::Menu, Direction::Left) => Self::DidYouKnow.swipe(direction),
|
||||
(Self::Menu, Direction::Right) => Self::StepBegin.swipe(direction),
|
||||
(Self::Menu, Direction::Right) => Self::StepMenu.swipe(direction),
|
||||
(Self::DidYouKnow, Direction::Right) => Self::Menu.swipe(direction),
|
||||
(Self::StepDone, Direction::Up) => self.return_msg(FlowMsg::Confirmed),
|
||||
_ => self.do_nothing(),
|
||||
|
Loading…
Reference in New Issue
Block a user