From 14681cdcc0d998f584d9dcdc47634c1ad49066be Mon Sep 17 00:00:00 2001 From: Yukai Li Date: Wed, 23 Nov 2022 09:04:15 -0700 Subject: [PATCH] Format code --- .../scenes/nfc_scene_mf_ultralight_read_auth_result.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_read_auth_result.c b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_read_auth_result.c index 86d670cbf..b125e9991 100644 --- a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_read_auth_result.c +++ b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_read_auth_result.c @@ -24,10 +24,11 @@ void nfc_scene_mf_ultralight_read_auth_result_on_enter(void* context) { temp_str = furi_string_alloc(); if((mf_ul_data->data_read == mf_ul_data->data_size) && (mf_ul_data->data_read > 0)) { - if(mf_ul_data->auth_success) + if(mf_ul_data->auth_success) { title = "All pages are unlocked!"; - else + } else { title = "All unlocked but failed auth!"; + } } else { title = "Not all pages unlocked!"; } @@ -91,10 +92,11 @@ bool nfc_scene_mf_ultralight_read_auth_result_on_event(void* context, SceneManag consumed = scene_manager_previous_scene(nfc->scene_manager); } else { NfcScene next_scene; - if((mf_ul_data->data_read == mf_ul_data->data_size) && (mf_ul_data->data_read > 0)) + if((mf_ul_data->data_read == mf_ul_data->data_size) && (mf_ul_data->data_read > 0)) { next_scene = NfcSceneMfUltralightMenu; - else + } else { next_scene = NfcSceneMfUltralightUnlockMenu; + } consumed = scene_manager_search_and_switch_to_previous_scene(nfc->scene_manager, next_scene);