Skip to content

Commit

Permalink
compilation work for nanosplus
Browse files Browse the repository at this point in the history
  • Loading branch information
mlafon-ledger committed Aug 30, 2024
1 parent c16ed90 commit 778283e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use core::mem::MaybeUninit;
use include_gif::include_gif;
#[cfg(any(target_os = "stax", target_os = "flex"))]
use ledger_device_sdk::nbgl::{NbglGlyph, NbglHomeAndSettings};
#[cfg(any(target_os = "stax", target_os = "flex"))]
use ledger_device_sdk::nbgl::{Field, NbglReview};
#[cfg(not(any(target_os = "stax", target_os = "flex")))]
use ledger_device_sdk::ui::bitmaps::{CERTIFICATE, DASHBOARD_X, Glyph};
Expand Down Expand Up @@ -499,7 +500,7 @@ fn display_infos(passwords: &nvm::Collection<PasswordItem, 128>, comm: &mut io::
// The from trait allows to create different styles of pages
// without having to use the new() function.
&Page::from((["NanoPass", "is ready"], &APP_ICON)),
&Page::from((["Passwords", stored_str])),
&Page::from((["Passwords", stored_str], true)),
&Page::from((["Version", env!("CARGO_PKG_VERSION")], true)),
&Page::from(("Quit", &DASHBOARD_X)),
];
Expand Down

0 comments on commit 778283e

Please sign in to comment.