From dfe6826101ea9f1df09c7ec9baf632c7bc7ae891 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Fri, 7 Jun 2024 15:11:40 +0200 Subject: [PATCH] fix(core): add missing swipe right to address QR screen - mercury ui --- core/.changelog.d/3919.fixed | 1 + core/embed/rust/src/ui/model_mercury/flow/get_address.rs | 1 + 2 files changed, 2 insertions(+) create mode 100644 core/.changelog.d/3919.fixed diff --git a/core/.changelog.d/3919.fixed b/core/.changelog.d/3919.fixed new file mode 100644 index 000000000..9bb06f0cd --- /dev/null +++ b/core/.changelog.d/3919.fixed @@ -0,0 +1 @@ +[T3T1] fixed swipe back from address QR code screen diff --git a/core/embed/rust/src/ui/model_mercury/flow/get_address.rs b/core/embed/rust/src/ui/model_mercury/flow/get_address.rs index 3d1636cba..155521538 100644 --- a/core/embed/rust/src/ui/model_mercury/flow/get_address.rs +++ b/core/embed/rust/src/ui/model_mercury/flow/get_address.rs @@ -231,6 +231,7 @@ impl GetAddress { .with_border(QR_BORDER), ) .with_cancel_button() + .with_swipe(SwipeDirection::Right, SwipeSettings::immediate()) .map(|msg| matches!(msg, FrameMsg::Button(_)).then_some(FlowMsg::Cancelled)); // AccountInfo