mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-17 16:46:05 +00:00
fix(core/mercury): fix share words hold to confirm swipe effect
This commit is contained in:
parent
e89ae8246d
commit
a0e33d61bd
@ -112,11 +112,13 @@ impl ShowShareWords {
|
||||
let content_words =
|
||||
ShareWords::new(title, subtitle, share_words_vec, highlight_repeated).map(|_| None);
|
||||
|
||||
let content_confirm =
|
||||
Frame::left_aligned(text_confirm, PromptScreen::new_hold_to_confirm())
|
||||
.with_footer(TR::instructions__hold_to_confirm.into(), None)
|
||||
.with_swipe(SwipeDirection::Down, SwipeSettings::default())
|
||||
.map(|_| Some(FlowMsg::Confirmed));
|
||||
let content_confirm = Frame::left_aligned(
|
||||
text_confirm,
|
||||
SwipeContent::new(PromptScreen::new_hold_to_confirm()),
|
||||
)
|
||||
.with_footer(TR::instructions__hold_to_confirm.into(), None)
|
||||
.with_swipe(SwipeDirection::Down, SwipeSettings::default())
|
||||
.map(|_| Some(FlowMsg::Confirmed));
|
||||
|
||||
let content_check_backup_intro = Frame::left_aligned(
|
||||
TR::reset__check_wallet_backup_title.into(),
|
||||
|
Loading…
Reference in New Issue
Block a user