From a66dd78ef7c1920fbfca334ea92ed9ce9448c66e Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 4 Jun 2024 09:27:00 +0200 Subject: [PATCH] fix(core): fix missing hold to confirm screen [no changelog] --- .../ui/model_mercury/flow/confirm_action.rs | 4 +- tests/ui_tests/fixtures.json | 142 +++++++++--------- 2 files changed, 74 insertions(+), 72 deletions(-) diff --git a/core/embed/rust/src/ui/model_mercury/flow/confirm_action.rs b/core/embed/rust/src/ui/model_mercury/flow/confirm_action.rs index 75f4871d55..494e8182bb 100644 --- a/core/embed/rust/src/ui/model_mercury/flow/confirm_action.rs +++ b/core/embed/rust/src/ui/model_mercury/flow/confirm_action.rs @@ -193,7 +193,7 @@ fn new_confirm_action_obj(_args: &[Obj], kwargs: &Map) -> Result Some(FlowMsg::Cancelled), }); - if !prompt_screen { + if !prompt_screen && !hold { let store = flow_store().add(content_intro)?.add(content_menu)?; let res = SwipeFlow::new(ConfirmActionSimple::Intro, store)?; Ok(LayoutObj::new(res)?.into()) @@ -210,6 +210,8 @@ fn new_confirm_action_obj(_args: &[Obj], kwargs: &Map) -> Result