diff --git a/src/app_ui/address.rs b/src/app_ui/address.rs index b533a92..ca42e65 100644 --- a/src/app_ui/address.rs +++ b/src/app_ui/address.rs @@ -21,7 +21,7 @@ use fmt_buffer::Buffer; #[cfg(any(target_os = "stax", target_os = "flex"))] use include_gif::include_gif; #[cfg(any(target_os = "stax", target_os = "flex"))] -use ledger_device_sdk::nbgl::{NbglAddressReview, NbglGlyph}; +use ledger_device_sdk::nbgl::{NbglAddressReview, NbglGlyph, NbglReviewStatus, StatusType}; #[cfg(not(any(target_os = "stax", target_os = "flex")))] use ledger_device_sdk::ui::bitmaps::{CROSSMARK, EYE, VALIDATE_14}; #[cfg(not(any(target_os = "stax", target_os = "flex")))] @@ -59,7 +59,18 @@ pub fn ui_display_pk_base58(public_key: &crypto::PublicKeyBe) -> Result { + status.status_type(StatusType::Address).show(true); + } + false => { + status.status_type(StatusType::Address).show(false); + } + } + + Ok(res) } } diff --git a/tests/snapshots/stax/test_get_public_key_and_confirm_screen/00001.png b/tests/snapshots/stax/test_get_public_key_and_confirm_screen/00001.png index ee79261..212a931 100644 Binary files a/tests/snapshots/stax/test_get_public_key_and_confirm_screen/00001.png and b/tests/snapshots/stax/test_get_public_key_and_confirm_screen/00001.png differ