From 946f73bd69b2a6055bb8a65f9547e3a55757f22a 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 98bcad306a..b13e4a16f4 100644 --- a/core/embed/rust/src/ui/model_tr/component/progress.rs +++ b/core/embed/rust/src/ui/model_tr/component/progress.rs @@ -115,6 +115,9 @@ where } }); } + } 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 c6083ff75b..724ba15bf2 100644 --- a/core/embed/rust/src/ui/model_tt/component/progress.rs +++ b/core/embed/rust/src/ui/model_tt/component/progress.rs @@ -99,6 +99,9 @@ where } }); } + } else { + self.title.event(ctx, event); + self.description.event(ctx, event); } None }