Skip to content

Commit 35e29a7

Browse files
committed
Update Rust SDK + icons + snapshots
1 parent 2511525 commit 35e29a7

File tree

13 files changed

+12
-20
lines changed

13 files changed

+12
-20
lines changed

Cargo.lock

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Ledger"]
55
edition = "2021"
66

77
[dependencies]
8-
ledger_device_sdk = "1.24.1"
8+
ledger_device_sdk = "1.24.4"
99
include_gif = "1.2.2"
1010
serde = { version="1.0.192", default-features = false, features = ["derive"] }
1111
serde-json-core = { git = "https://github.com/rust-embedded-community/serde-json-core" }
@@ -39,10 +39,7 @@ icon = "crab_32x32.gif"
3939
icon = "crab_40x40.gif"
4040

4141
[package.metadata.ledger.apex_p]
42-
icon = "crab_14x14.gif"
42+
icon = "crab_32x32.png"
4343

4444
[lints.rust]
45-
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("apex_p", "stax", "flex", "nanos", "nanox", "nanosplus"))'] }
46-
47-
[patch.crates-io]
48-
ledger_device_sdk = {path = "../ledger-device-rust-sdk/ledger_device_sdk"}
45+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("apex_p", "stax", "flex", "nanos", "nanox", "nanosplus"))'] }

crab_32x32.png

291 Bytes
Loading

crab_48x48.png

345 Bytes
Loading

src/app_ui/menu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use ledger_device_sdk::nbgl::{NbglGlyph, NbglHomeAndSettings};
2424
pub fn ui_menu_main(_: &mut Comm) -> NbglHomeAndSettings {
2525
// Load glyph from 64x64 4bpp gif file with include_gif macro. Creates an NBGL compatible glyph.
2626
#[cfg(any(target_os = "apex_p"))]
27-
const FERRIS: NbglGlyph = NbglGlyph::from_include(include_gif!("crab_14x14.gif", NBGL));
27+
const FERRIS: NbglGlyph = NbglGlyph::from_include(include_gif!("crab_48x48.png", NBGL));
2828
#[cfg(any(target_os = "stax", target_os = "flex"))]
2929
const FERRIS: NbglGlyph = NbglGlyph::from_include(include_gif!("crab_64x64.gif", NBGL));
3030
#[cfg(any(target_os = "nanosplus", target_os = "nanox"))]
107 Bytes
Loading
107 Bytes
Loading
107 Bytes
Loading
107 Bytes
Loading
107 Bytes
Loading

0 commit comments

Comments
 (0)