1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00

fix(core): add missing swipe right to address QR screen - mercury ui

This commit is contained in:
tychovrahe 2024-06-07 15:11:40 +02:00 committed by TychoVrahe
parent 84c182fdac
commit dfe6826101
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
[T3T1] fixed swipe back from address QR code screen

View File

@ -231,6 +231,7 @@ impl GetAddress {
.with_border(QR_BORDER), .with_border(QR_BORDER),
) )
.with_cancel_button() .with_cancel_button()
.with_swipe(SwipeDirection::Right, SwipeSettings::immediate())
.map(|msg| matches!(msg, FrameMsg::Button(_)).then_some(FlowMsg::Cancelled)); .map(|msg| matches!(msg, FrameMsg::Button(_)).then_some(FlowMsg::Cancelled));
// AccountInfo // AccountInfo