mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 05:18:08 +00:00
fix(core/ui): T3T1 confirm_action: hold implies prompt_screen
This commit is contained in:
parent
d58dac03a4
commit
e0dfa15e89
@ -194,6 +194,7 @@ pub fn new_confirm_action_simple<T: Component + Paginate + MaybeTrace + 'static>
|
|||||||
content_intro = content_intro.with_subtitle(subtitle);
|
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 prompt_pages: usize = prompt_screen.is_some().into();
|
||||||
let content_intro = content_intro
|
let content_intro = content_intro
|
||||||
.map(move |msg| match msg {
|
.map(move |msg| match msg {
|
||||||
|
Loading…
Reference in New Issue
Block a user