mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 20:28:36 -07:00
Marauder no illegal characters on filename input
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user