Fix build

This commit is contained in:
Willy-JL
2023-09-02 17:16:42 +02:00
parent 58355994ec
commit 111a9da5ef
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);