From 2b4d6eb7983eca29db3767de5ad5688339d86a68 Mon Sep 17 00:00:00 2001 From: obrusvit Date: Tue, 6 Aug 2024 12:25:58 +0200 Subject: [PATCH] feat(core/mercury): passphrase confirm empty btn [no changelog] --- .../component/keyboard/passphrase.rs | 51 +++++++++-- .../model_mercury/component/prompt_screen.rs | 4 +- .../model_mercury/component/status_screen.rs | 8 +- .../model_mercury/flow/request_passphrase.rs | 85 +++++++++++++++++++ .../rust/src/ui/model_mercury/theme/mod.rs | 56 ++++++------ 5 files changed, 161 insertions(+), 43 deletions(-) create mode 100644 core/embed/rust/src/ui/model_mercury/flow/request_passphrase.rs diff --git a/core/embed/rust/src/ui/model_mercury/component/keyboard/passphrase.rs b/core/embed/rust/src/ui/model_mercury/component/keyboard/passphrase.rs index b0b08b0fc3..6f3ab77a7b 100644 --- a/core/embed/rust/src/ui/model_mercury/component/keyboard/passphrase.rs +++ b/core/embed/rust/src/ui/model_mercury/component/keyboard/passphrase.rs @@ -79,7 +79,8 @@ pub struct PassphraseKeyboard { input_prompt: Label<'static>, erase_btn: Maybe