From 7de8583857206a585fa440a27934dc6d7dc5f635 Mon Sep 17 00:00:00 2001 From: emmanuelm41 Date: Fri, 27 Sep 2024 12:31:10 -0300 Subject: [PATCH] fix: format --- ledger_device_sdk/src/ui/gadgets.rs | 8 ++++---- ledger_secure_sdk_sys/build.rs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ledger_device_sdk/src/ui/gadgets.rs b/ledger_device_sdk/src/ui/gadgets.rs index 8d13c049..041f54d7 100644 --- a/ledger_device_sdk/src/ui/gadgets.rs +++ b/ledger_device_sdk/src/ui/gadgets.rs @@ -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)] diff --git a/ledger_secure_sdk_sys/build.rs b/ledger_secure_sdk_sys/build.rs index 2614037c..26d0970a 100644 --- a/ledger_secure_sdk_sys/build.rs +++ b/ledger_secure_sdk_sys/build.rs @@ -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"), @@ -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", ),