mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-28 05:33:08 +00:00
90d450368c
* nfc: allocate nfc device on heap * nfc: rework save with flipper file format * nfc: rework nfc device load with flipper file * nfc: save AID length and data * nfc: remove file worker usage * nfc: format sources * nfc: rework with flipper file format addons * assets: update EMV resources with flipper file format * nfc: rework EMV resources parsing with new file format * assets: fix EMV AID file format * nfc: fix nfc_device usage Co-authored-by: あく <alleteam@gmail.com>
18 lines
518 B
C
Executable file
18 lines
518 B
C
Executable file
#include "../nfc_i.h"
|
|
|
|
void nfc_scene_file_select_on_enter(void* context) {
|
|
Nfc* nfc = (Nfc*)context;
|
|
// Process file_select return
|
|
if(nfc_file_select(nfc->dev)) {
|
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneSavedMenu);
|
|
} else {
|
|
scene_manager_search_and_switch_to_previous_scene(nfc->scene_manager, NfcSceneStart);
|
|
}
|
|
}
|
|
|
|
bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
|
|
return false;
|
|
}
|
|
|
|
void nfc_scene_file_select_on_exit(void* context) {
|
|
}
|