From 86fb450ab4d7122ccf096a78db1c2d2832b9d526 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 29 Apr 2025 22:28:20 +0800 Subject: [PATCH] improve compatibility of signatures --- services/modals/src/main.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/modals/src/main.rs b/services/modals/src/main.rs index bcc642988..8dd9619cb 100644 --- a/services/modals/src/main.rs +++ b/services/modals/src/main.rs @@ -142,8 +142,14 @@ fn wrapped_main() -> ! { 8, ); #[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))] - let mut renderer_modal = - Modal::new(ActionType::TextEntry(text_action.clone()), Some("Placeholder"), None, DEFAULT_STYLE, 8); + let mut renderer_modal = Modal::new( + "dummy", + ActionType::TextEntry(text_action.clone()), + Some("Placeholder"), + None, + DEFAULT_STYLE, + 8, + ); #[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))] { let kbd = cramium_api::keyboard::Keyboard::new(&xns).unwrap();