From 747303fd39fdac212c142f306e22e31edb120fa9 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Thu, 11 Jul 2024 10:05:19 +0200 Subject: [PATCH] fix(core/mercury): fix trace impl for TapToConfirm and HoldToConfirm [no changelog] --- .../rust/src/ui/model_mercury/component/hold_to_confirm.rs | 2 +- .../embed/rust/src/ui/model_mercury/component/tap_to_confirm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/ui/model_mercury/component/hold_to_confirm.rs b/core/embed/rust/src/ui/model_mercury/component/hold_to_confirm.rs index b8c2cc9a22..258882d9e8 100644 --- a/core/embed/rust/src/ui/model_mercury/component/hold_to_confirm.rs +++ b/core/embed/rust/src/ui/model_mercury/component/hold_to_confirm.rs @@ -366,7 +366,7 @@ impl Component for HoldToConfirm { #[cfg(feature = "ui_debug")] impl crate::trace::Trace for HoldToConfirm { fn trace(&self, t: &mut dyn crate::trace::Tracer) { - t.component("StatusScreen"); + t.component("HoldToConfirm"); t.child("button", &self.button); } } diff --git a/core/embed/rust/src/ui/model_mercury/component/tap_to_confirm.rs b/core/embed/rust/src/ui/model_mercury/component/tap_to_confirm.rs index 51965f942f..abad6b797c 100644 --- a/core/embed/rust/src/ui/model_mercury/component/tap_to_confirm.rs +++ b/core/embed/rust/src/ui/model_mercury/component/tap_to_confirm.rs @@ -243,7 +243,7 @@ impl Component for TapToConfirm { #[cfg(feature = "ui_debug")] impl crate::trace::Trace for TapToConfirm { fn trace(&self, t: &mut dyn crate::trace::Tracer) { - t.component("StatusScreen"); + t.component("TapToConfirm"); t.child("button", &self.button); } }