Procházet zdrojové kódy

Hide info line when auth fails

Eric Betts před 1 rokem
rodič
revize
6fd741bdd0
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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
         // Neither of these are valid.  Indicates the block was all 0x00 or all 0xff
         if(SE) {
         if(SE) {
             furi_string_cat_printf(info_str, "SIO");
             furi_string_cat_printf(info_str, "SIO");
+        } else if(auth == PicopassDeviceAuthMethodFailed) {
+            furi_string_cat_printf(info_str, "Auth Failed");
         } else {
         } else {
             furi_string_cat_printf(info_str, "Invalid PACS");
             furi_string_cat_printf(info_str, "Invalid PACS");
         }
         }