From 5a1898633dbf3695c785270c333603e33ddca3d1 Mon Sep 17 00:00:00 2001 From: 956MB Date: Tue, 24 Dec 2024 04:19:31 -0600 Subject: [PATCH] fix(NFC Maker): Show illegal symbols on keyboard The text input already has this functionality to show these extra symbols in place of the numbers 0-9 when opening the 'secondary' keyboard. It just wasn't being used. --- nfc_maker/dropin/text_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfc_maker/dropin/text_input.c b/nfc_maker/dropin/text_input.c index 74dec2468..692b27f9f 100644 --- a/nfc_maker/dropin/text_input.c +++ b/nfc_maker/dropin/text_input.c @@ -656,7 +656,7 @@ TextInput* text_input_alloc(void) { { model->validator_text = furi_string_alloc(); model->minimum_length = 1; - model->illegal_symbols = false; + model->illegal_symbols = true; model->cursor_pos = 0; model->cursor_select = false; }, @@ -696,7 +696,7 @@ void text_input_reset(TextInput* text_input) { model->selected_column = 0; model->selected_keyboard = 0; model->minimum_length = 1; - model->illegal_symbols = false; + model->illegal_symbols = true; model->clear_default_text = false; model->cursor_pos = 0; model->cursor_select = false;