improve compatibility of signatures

This commit is contained in:
bunnie 2025-04-29 22:28:20 +08:00
parent 18de29f7a7
commit 86fb450ab4

View file

@ -142,8 +142,14 @@ fn wrapped_main() -> ! {
8, 8,
); );
#[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))] #[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))]
let mut renderer_modal = let mut renderer_modal = Modal::new(
Modal::new(ActionType::TextEntry(text_action.clone()), Some("Placeholder"), None, DEFAULT_STYLE, 8); "dummy",
ActionType::TextEntry(text_action.clone()),
Some("Placeholder"),
None,
DEFAULT_STYLE,
8,
);
#[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))] #[cfg(any(feature = "hosted-baosec", feature = "cramium-soc"))]
{ {
let kbd = cramium_api::keyboard::Keyboard::new(&xns).unwrap(); let kbd = cramium_api::keyboard::Keyboard::new(&xns).unwrap();