From 39050634bbdab61c9e334c8afb45dc3f7be4e6e2 Mon Sep 17 00:00:00 2001 From: polyprogrammist Date: Tue, 30 Jul 2024 14:25:21 +0800 Subject: [PATCH] remove pending review --- Cargo.toml | 3 +-- src/main.rs | 10 ---------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 305de48..353dc4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,5 @@ icon = "icons/app_near_14px.gif" icon = "icons/app_near_32px.gif" [features] -default = ["pending_review_screen"] -pending_review_screen = [] +default = [] speculos = ["ledger_device_sdk/speculos"] diff --git a/src/main.rs b/src/main.rs index 644ca93..1742706 100644 --- a/src/main.rs +++ b/src/main.rs @@ -238,10 +238,6 @@ impl TryFrom for Instruction { #[cfg(any(target_os = "stax", target_os = "flex"))] use ledger_device_sdk::nbgl::init_comm; -#[cfg(feature = "pending_review_screen")] -#[cfg(not(any(target_os = "stax", target_os = "flex")))] -use ledger_device_sdk::ui::gadgets::display_pending_review; - #[no_mangle] extern "C" fn sample_main() { let mut comm = Comm::new(); @@ -249,12 +245,6 @@ extern "C" fn sample_main() { #[cfg(any(target_os = "stax", target_os = "flex"))] init_comm(&mut comm); - // Developer mode / pending review popup - // must be cleared with user interaction - #[cfg(feature = "pending_review_screen")] - #[cfg(not(any(target_os = "stax", target_os = "flex")))] - display_pending_review(&mut comm); - loop { // Wait for either a specific button push to exit the app // or an APDU command