From e0dfa15e89f35bfd3cee8d0557b749b9e83e84a2 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Wed, 5 Jun 2024 23:36:41 +0200 Subject: [PATCH] fix(core/ui): T3T1 confirm_action: hold implies prompt_screen --- core/embed/rust/src/ui/model_mercury/flow/confirm_action.rs | 1 + 1 file changed, 1 insertion(+) 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 72f001816a..3dd86b068e 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 @@ -194,6 +194,7 @@ pub fn new_confirm_action_simple content_intro = content_intro.with_subtitle(subtitle); } + let prompt_screen = prompt_screen.or_else(|| hold.then_some(title)); let prompt_pages: usize = prompt_screen.is_some().into(); let content_intro = content_intro .map(move |msg| match msg {