Просмотр исходного кода

Hide info line when auth fails

Eric Betts 1 год назад
Родитель
Сommit
6fd741bdd0
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      scenes/picopass_scene_read_card_success.c

+ 2 - 0
scenes/picopass_scene_read_card_success.c

@@ -108,6 +108,8 @@ void picopass_scene_read_card_success_on_enter(void* context) {
         // Neither of these are valid.  Indicates the block was all 0x00 or all 0xff
         if(SE) {
             furi_string_cat_printf(info_str, "SIO");
+        } else if(auth == PicopassDeviceAuthMethodFailed) {
+            furi_string_cat_printf(info_str, "Auth Failed");
         } else {
             furi_string_cat_printf(info_str, "Invalid PACS");
         }