1
0
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:
Lukas Bielesch 2025-02-27 23:54:49 +01:00
parent 876f364d7b
commit 090d285d8e

View File

@ -47,7 +47,7 @@ impl FlowController for PromptBackup {
(Self::Intro, FlowMsg::Info) => Self::Menu.goto(),
(Self::Intro, FlowMsg::Confirmed) => self.return_msg(FlowMsg::Confirmed),
(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::Confirmed) => self.return_msg(FlowMsg::Cancelled),
_ => self.do_nothing(),