Skip to content

Commit

Permalink
Correct UX to the approved one
Browse files Browse the repository at this point in the history
  • Loading branch information
Astra committed Aug 3, 2022
1 parent 472bf7f commit 2274bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion applications/nfc/scenes/nfc_scene_mf_classic_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void nfc_scene_mf_classic_info_on_enter(void* context) {
widget, 0, 22, AlignLeft, AlignTop, FontSecondary, string_get_cstr(str_tmp));
string_printf(
str_tmp,
"ATQA: %02X %02X SAK: %02X",
"ATQA: %02X %02X SAK: %02X",
dev_data->nfc_data.atqa[0],
dev_data->nfc_data.atqa[1],
dev_data->nfc_data.sak);
Expand Down
6 changes: 2 additions & 4 deletions applications/nfc/scenes/nfc_scene_mf_classic_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ void nfc_scene_mf_classic_menu_on_enter(void* context) {
submenu, "Save", SubmenuIndexSave, nfc_scene_mf_classic_menu_submenu_callback, nfc);
submenu_add_item(
submenu, "Emulate", SubmenuIndexEmulate, nfc_scene_mf_classic_menu_submenu_callback, nfc);
if(string_size(nfc->dev->dev_data.parsed_data)) {
submenu_add_item(
submenu, "Info", SubmenuIndexInfo, nfc_scene_mf_classic_menu_submenu_callback, nfc);
}
submenu_add_item(
submenu, "Info", SubmenuIndexInfo, nfc_scene_mf_classic_menu_submenu_callback, nfc);

submenu_set_selected_item(
nfc->submenu, scene_manager_get_scene_state(nfc->scene_manager, NfcSceneMfClassicMenu));
Expand Down

0 comments on commit 2274bd5

Please sign in to comment.