1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00

fix(core/mercury): fix trace impl for TapToConfirm and HoldToConfirm

[no changelog]
This commit is contained in:
tychovrahe 2024-07-11 10:05:19 +02:00 committed by TychoVrahe
parent 905beb6ede
commit 747303fd39
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}