[FL-2874] Remove bank card uid emulation (#1823)
* nfc: open bank card info from archive * nfc: remove emulate uid option from bank cards menu Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
6dde5586af
commit
01f7a3e5b5
@ -277,6 +277,8 @@ int32_t nfc_app(void* p) {
|
|||||||
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfUltralightEmulate);
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfUltralightEmulate);
|
||||||
} else if(nfc->dev->format == NfcDeviceSaveFormatMifareClassic) {
|
} else if(nfc->dev->format == NfcDeviceSaveFormatMifareClassic) {
|
||||||
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfClassicEmulate);
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneMfClassicEmulate);
|
||||||
|
} else if(nfc->dev->format == NfcDeviceSaveFormatBankCard) {
|
||||||
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneDeviceInfo);
|
||||||
} else {
|
} else {
|
||||||
scene_manager_next_scene(nfc->scene_manager, NfcSceneEmulateUid);
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneEmulateUid);
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,7 @@ void nfc_scene_saved_menu_on_enter(void* context) {
|
|||||||
Submenu* submenu = nfc->submenu;
|
Submenu* submenu = nfc->submenu;
|
||||||
|
|
||||||
if(nfc->dev->format == NfcDeviceSaveFormatUid ||
|
if(nfc->dev->format == NfcDeviceSaveFormatUid ||
|
||||||
nfc->dev->format == NfcDeviceSaveFormatMifareDesfire ||
|
nfc->dev->format == NfcDeviceSaveFormatMifareDesfire) {
|
||||||
nfc->dev->format == NfcDeviceSaveFormatBankCard) {
|
|
||||||
submenu_add_item(
|
submenu_add_item(
|
||||||
submenu,
|
submenu,
|
||||||
"Emulate UID",
|
"Emulate UID",
|
||||||
|
Loading…
Reference in New Issue
Block a user