2021-07-02 13:44:10 +00:00
|
|
|
#include "../nfc_i.h"
|
[FL-1962, FL-2464, FL-2465, FL-2466, FL-2560, FL-2637, FL-2595] Ibutton, Infrared, LfRFID GUI fixes (#1392)
* Ibutton, Infrared, LfRFID GUI fixes
* Loading screens update
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 07:41:16 +00:00
|
|
|
#include "nfc/nfc_device.h"
|
2021-07-02 13:44:10 +00:00
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
void nfc_scene_file_select_on_enter(void* context) {
|
2022-04-19 15:23:58 +00:00
|
|
|
Nfc* nfc = context;
|
2021-07-02 13:44:10 +00:00
|
|
|
// Process file_select return
|
[FL-1962, FL-2464, FL-2465, FL-2466, FL-2560, FL-2637, FL-2595] Ibutton, Infrared, LfRFID GUI fixes (#1392)
* Ibutton, Infrared, LfRFID GUI fixes
* Loading screens update
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 07:41:16 +00:00
|
|
|
nfc_device_set_loading_callback(nfc->dev, nfc_show_loading_popup, nfc);
|
2021-11-08 21:55:06 +00:00
|
|
|
if(nfc_file_select(nfc->dev)) {
|
2021-07-12 18:56:14 +00:00
|
|
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneSavedMenu);
|
2021-07-02 13:44:10 +00:00
|
|
|
} else {
|
2021-07-28 14:52:00 +00:00
|
|
|
scene_manager_search_and_switch_to_previous_scene(nfc->scene_manager, NfcSceneStart);
|
2021-07-02 13:44:10 +00:00
|
|
|
}
|
[FL-1962, FL-2464, FL-2465, FL-2466, FL-2560, FL-2637, FL-2595] Ibutton, Infrared, LfRFID GUI fixes (#1392)
* Ibutton, Infrared, LfRFID GUI fixes
* Loading screens update
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 07:41:16 +00:00
|
|
|
nfc_device_set_loading_callback(nfc->dev, NULL, nfc);
|
2021-07-02 13:44:10 +00:00
|
|
|
}
|
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
|
2022-05-06 13:37:10 +00:00
|
|
|
UNUSED(context);
|
|
|
|
UNUSED(event);
|
2021-07-02 13:44:10 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
void nfc_scene_file_select_on_exit(void* context) {
|
2022-05-06 13:37:10 +00:00
|
|
|
UNUSED(context);
|
2021-07-02 13:44:10 +00:00
|
|
|
}
|