mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-28 15:22:14 +00:00
fixup! feat(eckhart): prompt backup flow
This commit is contained in:
parent
876f364d7b
commit
090d285d8e
@ -47,7 +47,7 @@ impl FlowController for PromptBackup {
|
|||||||
(Self::Intro, FlowMsg::Info) => Self::Menu.goto(),
|
(Self::Intro, FlowMsg::Info) => Self::Menu.goto(),
|
||||||
(Self::Intro, FlowMsg::Confirmed) => self.return_msg(FlowMsg::Confirmed),
|
(Self::Intro, FlowMsg::Confirmed) => self.return_msg(FlowMsg::Confirmed),
|
||||||
(Self::Menu, FlowMsg::Choice(0)) => Self::SkipBackup.swipe_left(),
|
(Self::Menu, FlowMsg::Choice(0)) => Self::SkipBackup.swipe_left(),
|
||||||
(Self::Menu, FlowMsg::Cancelled) => Self::Intro.swipe_right(),
|
(Self::Menu, FlowMsg::Cancelled) => Self::Intro.goto(),
|
||||||
(Self::SkipBackup, FlowMsg::Cancelled) => Self::Menu.goto(),
|
(Self::SkipBackup, FlowMsg::Cancelled) => Self::Menu.goto(),
|
||||||
(Self::SkipBackup, FlowMsg::Confirmed) => self.return_msg(FlowMsg::Cancelled),
|
(Self::SkipBackup, FlowMsg::Confirmed) => self.return_msg(FlowMsg::Cancelled),
|
||||||
_ => self.do_nothing(),
|
_ => self.do_nothing(),
|
||||||
|
Loading…
Reference in New Issue
Block a user