1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-27 06:42:02 +00:00

fix(core/rust): respond to the correct button in Address info

This commit is contained in:
matejcik 2025-02-01 15:08:40 +01:00 committed by Vít Obrusník
parent 741731638b
commit 1f0ec4d3c0

View File

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