From a82c3ccc2258271deb2cd9f7a0c2b44eded3035c Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Mon, 28 Nov 2022 09:05:24 -0800 Subject: [PATCH] NFC: Fix MIFARE DESfire info action to open app menu (#2058) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When examining a MIFARE DESfire card, selecting "More >" currently leads to the file menu for a single application even if the scanned card contains multiple applications. On examining the source code, a MIFARE DESfire application selection menu is present as `NfcSceneMfDesfireData`. This change updates the MIFARE DESfire Info "More >" action to open the application selection menu. That menu may then be used to open the file selection menu for any application in the read MIFARE DESfire card data. Tested interactively with https://github.com/flipperdevices/flipperzero-sd-card-examples/blob/c4cbdcd94706836fe0e3cda42587814237b1cfde/nfc/Desfire.nfc Co-authored-by: あく --- applications/main/nfc/scenes/nfc_scene_nfc_data_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c b/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c index 8f33972e..bd6f5e2e 100644 --- a/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c +++ b/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c @@ -115,7 +115,7 @@ bool nfc_scene_nfc_data_info_on_event(void* context, SceneManagerEvent event) { if(event.type == SceneManagerEventTypeCustom) { if(event.event == GuiButtonTypeRight) { if(protocol == NfcDeviceProtocolMifareDesfire) { - scene_manager_next_scene(nfc->scene_manager, NfcSceneMfDesfireApp); + scene_manager_next_scene(nfc->scene_manager, NfcSceneMfDesfireData); consumed = true; } else if(protocol == NfcDeviceProtocolMifareUl) { scene_manager_next_scene(nfc->scene_manager, NfcSceneMfUltralightData);