Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Sep 27, 2024
1 parent 7a1b5f5 commit 7de8583
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ledger_device_sdk/src/ui/gadgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ impl<'a> Menu<'a> {
pub enum PageStyle {
#[default]
PictureNormal, // Picture (should be 16x16) with two lines of text (page layout depends on device).
PictureBold, // Icon on top with one line of text on the bottom.
BoldNormal, // One line of bold text and one line of normal text.
Normal, // 2 lines of centered text.
BoldCenteredNormal, // 2 lines of centered text, where the first one is bold
PictureBold, // Icon on top with one line of text on the bottom.
BoldNormal, // One line of bold text and one line of normal text.
Normal, // 2 lines of centered text.
BoldCenteredNormal, // 2 lines of centered text, where the first one is bold
}

#[derive(Copy, Clone, Default)]
Expand Down
6 changes: 3 additions & 3 deletions ledger_secure_sdk_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn clone_sdk(device: &Device) -> PathBuf {
Device::NanoS => (
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
"API_LEVEL_LNS",
"93fa69b170dd819c6b93d5cf49dd21acee51ffd0"
"93fa69b170dd819c6b93d5cf49dd21acee51ffd0",
),
Device::NanoX => (
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
Expand All @@ -226,12 +226,12 @@ fn clone_sdk(device: &Device) -> PathBuf {
"a3475f1cbfe59023c666086d6f69282d7c9b6117",
),
Device::Stax => (
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
"API_LEVEL_21",
"c7d4f4c77718c50ded4eb24d7f78b650475133af",
),
Device::Flex => (
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
Path::new("https://github.com/LedgerHQ/ledger-secure-sdk"),
"API_LEVEL_21",
"c7d4f4c77718c50ded4eb24d7f78b650475133af",
),
Expand Down

0 comments on commit 7de8583

Please sign in to comment.