Skip to content

Commit

Permalink
Merge pull request #197 from LedgerHQ/y333/fix_page_icone_two_lines_bold
Browse files Browse the repository at this point in the history
Do not move icon and first line
  • Loading branch information
yogh333 authored Oct 1, 2024
2 parents 9cddb81 + d43b409 commit d90aeee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ledger_device_sdk"
version = "1.17.1"
version = "1.17.2"
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
edition = "2021"
license.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions ledger_device_sdk/src/ui/gadgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,9 @@ impl<'a> Page<'a> {
self.label[0].place(Location::Bottom, Layout::Centered, true);
} else {
icon_x = 57;
icon_y = 10;
self.label[0].place(Location::Custom(28), Layout::Centered, true);
self.label[1].place(Location::Custom(42), Layout::Centered, true);
icon_y = 17;
self.label[0].place(Location::Custom(35), Layout::Centered, true);
self.label[1].place(Location::Custom(49), Layout::Centered, true);
}
if let Some(glyph) = self.glyph {
let icon = Icon::from(glyph);
Expand Down

0 comments on commit d90aeee

Please sign in to comment.