mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-11 19:33:30 -07:00
Format code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user