Marauder no illegal characters on filename input

This commit is contained in:
Willy-JL
2023-09-16 22:14:17 +02:00
parent 0d2f0fce36
commit 1b6bf0b38a
2 changed files with 2 additions and 4 deletions

View File

@@ -108,6 +108,7 @@ void wifi_marauder_scene_user_input_on_enter(void* context) {
*app->user_input_string_reference, *app->user_input_string_reference,
strlen(*app->user_input_string_reference) + 1); strlen(*app->user_input_string_reference) + 1);
} }
text_input_add_illegal_symbols(app->text_input);
break; break;
// Loads the numerical value of the reference // Loads the numerical value of the reference
case WifiMarauderUserInputTypeNumber: case WifiMarauderUserInputTypeNumber:
@@ -139,8 +140,6 @@ void wifi_marauder_scene_user_input_on_enter(void* context) {
WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE, WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE,
false); false);
text_input_add_illegal_symbols(app->text_input);
view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewTextInput); view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewTextInput);
} }

View File

@@ -108,6 +108,7 @@ void wifi_marauder_scene_user_input_on_enter(void* context) {
*app->user_input_string_reference, *app->user_input_string_reference,
strlen(*app->user_input_string_reference) + 1); strlen(*app->user_input_string_reference) + 1);
} }
text_input_add_illegal_symbols(app->text_input);
break; break;
// Loads the numerical value of the reference // Loads the numerical value of the reference
case WifiMarauderUserInputTypeNumber: case WifiMarauderUserInputTypeNumber:
@@ -139,8 +140,6 @@ void wifi_marauder_scene_user_input_on_enter(void* context) {
WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE, WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE,
false); false);
text_input_add_illegal_symbols(app->text_input);
view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewTextInput); view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewTextInput);
} }