unleashed-firmware/applications/main/nfc/scenes/nfc_scene_file_select.c
gornekich d92b0a82cc
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.

Starring:

- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer

Supporting roles:

- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance

Special thanks:

@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 12:08:09 +09:00

23 lines
566 B
C

#include "../nfc_app_i.h"
void nfc_scene_file_select_on_enter(void* context) {
NfcApp* instance = context;
if(nfc_load_from_file_select(instance)) {
scene_manager_next_scene(instance->scene_manager, NfcSceneSavedMenu);
} else {
scene_manager_previous_scene(instance->scene_manager);
}
}
bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
UNUSED(context);
UNUSED(event);
bool consumed = false;
return consumed;
}
void nfc_scene_file_select_on_exit(void* context) {
UNUSED(context);
}