From 6e36f479db50ddb1452bcf06a67961a802f340d6 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 18 Oct 2022 23:31:25 +0200 Subject: [PATCH] fix(core/rust): fix prompt rendering over warning in pin keyboard [no changelog] --- core/embed/rust/src/ui/model_tt/component/keyboard/pin.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/embed/rust/src/ui/model_tt/component/keyboard/pin.rs b/core/embed/rust/src/ui/model_tt/component/keyboard/pin.rs index 451a451189..9a95781a9f 100644 --- a/core/embed/rust/src/ui/model_tt/component/keyboard/pin.rs +++ b/core/embed/rust/src/ui/model_tt/component/keyboard/pin.rs @@ -206,6 +206,8 @@ where // Hide warning, show major prompt. Event::Timer(token) if Some(token) == self.warning_timer => { self.major_warning = None; + self.textbox_pad.clear(); + self.minor_prompt.request_complete_repaint(ctx); ctx.request_paint(); } _ => {}