Skip to content

Commit

Permalink
Merge pull request #172 from wetox-team/astra/mfc-info-screen
Browse files Browse the repository at this point in the history
Astra/mfc info screen
  • Loading branch information
RogueMaster authored Aug 4, 2022
2 parents 120b622 + 2274bd5 commit 1b9e798
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 1b9e798

Please sign in to comment.