1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-15 14:55:43 +00:00

fix(core): fix ExtraInfo menu cancellation

[no changelog]

(cherry picked from commit ac49c3e284)
This commit is contained in:
Roman Zeyde 2025-02-28 12:06:29 +02:00 committed by obrusvit
parent da6d4afc7d
commit 9321227ddb

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()