1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 15:30:55 +00:00

fix(core/rust): fix prompt rendering over warning in pin keyboard

[no changelog]
This commit is contained in:
tychovrahe 2022-10-18 23:31:25 +02:00 committed by Martin Milata
parent 4110f20abd
commit 6e36f479db

View File

@ -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();
}
_ => {}