Fix flipper fmt file handling in xfw app

This commit is contained in:
Willy-JL
2023-05-28 00:23:51 +01:00
parent 7e5b9f68c5
commit edd4871402

View File

@@ -261,7 +261,9 @@ XtremeApp* xtreme_app_alloc() {
}
}
} while(false);
flipper_format_free(file);
file = flipper_format_file_alloc(storage);
if(flipper_format_file_open_existing(file, "/ext/subghz/assets/extend_range.txt")) {
flipper_format_read_bool(file, "use_ext_range_at_own_risk", &app->subghz_extend, 1);
}