From 2862994b4bb6a3605c3b39aa738e270b17d0f910 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Fri, 21 Jul 2023 18:00:46 +0100 Subject: [PATCH] Add custom symbols to nfc maker keyboard --- .../external/nfc_maker/scenes/nfc_maker_scene_contact_url.c | 2 ++ applications/external/nfc_maker/scenes/nfc_maker_scene_https.c | 2 ++ applications/external/nfc_maker/scenes/nfc_maker_scene_text.c | 2 ++ applications/external/nfc_maker/scenes/nfc_maker_scene_url.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_contact_url.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_contact_url.c index 1d2f61d28..a194f83b4 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_contact_url.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_contact_url.c @@ -28,6 +28,8 @@ void nfc_maker_scene_contact_url_on_enter(void* context) { text_input_set_minimum_length(text_input, 0); + text_input_add_illegal_symbols(text_input); + view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput); } diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_https.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_https.c index a814f8e22..a7383c59b 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_https.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_https.c @@ -26,6 +26,8 @@ void nfc_maker_scene_https_on_enter(void* context) { BIG_INPUT_LEN, true); + text_input_add_illegal_symbols(text_input); + view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput); } diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_text.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_text.c index 4c86f3b52..2e53c3cf3 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_text.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_text.c @@ -26,6 +26,8 @@ void nfc_maker_scene_text_on_enter(void* context) { BIG_INPUT_LEN, true); + text_input_add_illegal_symbols(text_input); + view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput); } diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_url.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_url.c index f5d2eddaa..d2de8745e 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_url.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_url.c @@ -26,6 +26,8 @@ void nfc_maker_scene_url_on_enter(void* context) { BIG_INPUT_LEN, true); + text_input_add_illegal_symbols(text_input); + view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput); }