GUI: NumberInput allow empty default and show pressing 0

This commit is contained in:
Willy-JL
2024-08-14 03:27:15 +02:00
parent 90728784e5
commit dfbba6a593
2 changed files with 10 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ void momentum_app_scene_protocols_freqs_add_on_enter(void* context) {
momentum_app_scene_protocols_freqs_add_number_input_callback,
app,
0,
0, // TODO: support leaving default value empty, change min to 100000
100000,
999999);
view_dispatcher_switch_to_view(app->view_dispatcher, MomentumAppViewNumberInput);