From eb97bafeefefdc94baf25a80bc3169e5eb3d3374 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 8 Nov 2023 13:17:11 +0100 Subject: [PATCH] fix(core/ui): repaint the title of Progress layout when requested --- core/embed/rust/src/ui/model_tr/component/progress.rs | 3 +++ core/embed/rust/src/ui/model_tt/component/progress.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/core/embed/rust/src/ui/model_tr/component/progress.rs b/core/embed/rust/src/ui/model_tr/component/progress.rs index b24109d1d..045078f33 100644 --- a/core/embed/rust/src/ui/model_tr/component/progress.rs +++ b/core/embed/rust/src/ui/model_tr/component/progress.rs @@ -127,6 +127,9 @@ impl Component for Progress { self.description_pad.clear(); } }); + } else { + self.title.event(ctx, event); + self.description.event(ctx, event); } None } diff --git a/core/embed/rust/src/ui/model_tt/component/progress.rs b/core/embed/rust/src/ui/model_tt/component/progress.rs index dec7a886b..699e00c42 100644 --- a/core/embed/rust/src/ui/model_tt/component/progress.rs +++ b/core/embed/rust/src/ui/model_tt/component/progress.rs @@ -88,6 +88,9 @@ impl Component for Progress { } }); } + } else { + self.title.event(ctx, event); + self.description.event(ctx, event); } None }