Skip to content

Commit d90aeee

Browse files
authored
Merge pull request #197 from LedgerHQ/y333/fix_page_icone_two_lines_bold
Do not move icon and first line
2 parents 9cddb81 + d43b409 commit d90aeee

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ledger_device_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ledger_device_sdk"
3-
version = "1.17.1"
3+
version = "1.17.2"
44
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
55
edition = "2021"
66
license.workspace = true

ledger_device_sdk/src/ui/gadgets.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ impl<'a> Page<'a> {
461461
self.label[0].place(Location::Bottom, Layout::Centered, true);
462462
} else {
463463
icon_x = 57;
464-
icon_y = 10;
465-
self.label[0].place(Location::Custom(28), Layout::Centered, true);
466-
self.label[1].place(Location::Custom(42), Layout::Centered, true);
464+
icon_y = 17;
465+
self.label[0].place(Location::Custom(35), Layout::Centered, true);
466+
self.label[1].place(Location::Custom(49), Layout::Centered, true);
467467
}
468468
if let Some(glyph) = self.glyph {
469469
let icon = Icon::from(glyph);

0 commit comments

Comments
 (0)