mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 10:58:36 -07:00
nfc maker - add keyboard
This commit is contained in:
8
applications/external/nfc_maker/nfc_maker.c
vendored
8
applications/external/nfc_maker/nfc_maker.c
vendored
@@ -35,9 +35,11 @@ NfcMaker* nfc_maker_alloc() {
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher, NfcMakerViewSubmenu, submenu_get_view(app->submenu));
|
||||
|
||||
app->text_input = text_input_alloc();
|
||||
app->text_input = nfc_maker_text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher, NfcMakerViewTextInput, text_input_get_view(app->text_input));
|
||||
app->view_dispatcher,
|
||||
NfcMakerViewTextInput,
|
||||
nfc_maker_text_input_get_view(app->text_input));
|
||||
|
||||
app->byte_input = byte_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
@@ -56,7 +58,7 @@ void nfc_maker_free(NfcMaker* app) {
|
||||
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewSubmenu);
|
||||
submenu_free(app->submenu);
|
||||
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewTextInput);
|
||||
text_input_free(app->text_input);
|
||||
nfc_maker_text_input_free(app->text_input);
|
||||
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewByteInput);
|
||||
byte_input_free(app->byte_input);
|
||||
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewPopup);
|
||||
|
||||
Reference in New Issue
Block a user