Properly reset the NFC device data

This commit is contained in:
Astra
2023-08-14 17:05:28 +09:00
committed by MX
parent 9e3868887c
commit 830e202bb1
2 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
void nfc_scene_file_select_on_enter(void* context) {
Nfc* nfc = context;
nfc_device_data_clear(&nfc->dev->dev_data);
// Process file_select return
nfc_device_set_loading_callback(nfc->dev, nfc_show_loading_popup, nfc);
if(!furi_string_size(nfc->dev->load_path)) {