mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fix build
This commit is contained in:
@@ -17,7 +17,7 @@ void nfc_maker_scene_result_on_enter(void* context) {
|
||||
|
||||
FlipperFormat* file = flipper_format_file_alloc(furi_record_open(RECORD_STORAGE));
|
||||
FuriString* path = furi_string_alloc();
|
||||
furi_string_printf(path, NFC_APP_FOLDER "/%s" NFC_APP_EXTENSION, app->save_buf);
|
||||
furi_string_printf(path, NFC_APP_FOLDER "/%s" NFC_APP_FILENAME_EXTENSION, app->save_buf);
|
||||
|
||||
uint32_t pages = 135;
|
||||
size_t size = pages * 4;
|
||||
|
||||
@@ -27,7 +27,7 @@ void nfc_maker_scene_save_on_enter(void* context) {
|
||||
true);
|
||||
|
||||
ValidatorIsFile* validator_is_file =
|
||||
validator_is_file_alloc_init(NFC_APP_FOLDER, NFC_APP_EXTENSION, NULL);
|
||||
validator_is_file_alloc_init(NFC_APP_FOLDER, NFC_APP_FILENAME_EXTENSION, NULL);
|
||||
text_input_set_validator(text_input, validator_is_file_callback, validator_is_file);
|
||||
|
||||
view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput);
|
||||
|
||||
Reference in New Issue
Block a user