Skip to content

Commit

Permalink
fixup! feat(core/ethereum): new ETH contract flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ibz committed Oct 29, 2024
1 parent 9767fa2 commit d21e844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/embed/rust/src/ui/model_tr/component/changing_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl ChangingTextLine {
let x_offset = if self.text.len() % 2 == 0 { 0 } else { 2 };

let baseline = Point::new(self.pad.area.x0 + x_offset, self.y_baseline());
shape::Text::new(baseline, &text_to_display)
shape::Text::new(baseline, self.text.as_ref())
.with_font(self.font)
.render(target);
}
Expand Down

0 comments on commit d21e844

Please sign in to comment.