improve compatibility of api signatures

This commit is contained in:
bunnie 2025-04-29 22:27:59 +08:00
parent f93ab192af
commit 18de29f7a7
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ pub struct Modal<'a> {
impl<'a> Modal<'a> {
pub fn new(
_compat_name: &str,
action: ActionType,
top_text: Option<&str>,
bot_text: Option<&str>,

View file

@ -90,6 +90,7 @@ impl Default for TextEntry {
impl TextEntry {
pub fn new(
_is_password: bool,
_visibility: TextEntryVisibility,
action_conn: xous::CID,
action_opcode: u32,