1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-01 15:52:02 +00:00

fix(core): fix ExtraInfo menu cancellation

[no changelog]
This commit is contained in:
Roman Zeyde 2025-02-28 12:06:29 +02:00 committed by Roman Zeyde
parent 99bfacf265
commit ac49c3e284

View File

@ -165,7 +165,7 @@ impl FlowController for ConfirmOutputWithSummary {
(Self::AccountInfo, FlowMsg::Cancelled) => Self::MainMenu.goto(),
(Self::MainMenuCancel, FlowMsg::Cancelled) => Self::MainMenu.goto(),
(Self::AddressInfo, FlowMsg::Cancelled) => Self::MainMenu.goto(),
(Self::ExtraInfo, FlowMsg::Info) => Self::SummaryMenu.goto(),
(Self::ExtraInfo, FlowMsg::Cancelled) => Self::SummaryMenu.goto(),
(Self::Summary, FlowMsg::Info) => Self::SummaryMenu.goto(),
(Self::SummaryMenu, FlowMsg::Choice(MENU_ITEM_CANCEL)) => {
Self::SummaryMenuCancel.swipe_left()