@@ -52,7 +52,6 @@ void picopass_scene_read_card_success_on_enter(void* context) {
5252
5353 if (pacs -> se_enabled ) {
5454 furi_string_cat_printf (credential_str , "SE enabled" );
55-
5655 } else if (!hid_csn ) {
5756 furi_string_cat_printf (credential_str , "Non-HID CSN" );
5857 }
@@ -69,6 +68,15 @@ void picopass_scene_read_card_success_on_enter(void* context) {
6968 "More" ,
7069 picopass_scene_read_card_success_widget_callback ,
7170 picopass );
71+ } else if (pacs -> se_enabled ) {
72+ furi_string_cat_printf (credential_str , "SE enabled" );
73+ furi_string_cat_printf (wiegand_str , "SIO" );
74+ widget_add_button_element (
75+ widget ,
76+ GuiButtonTypeRight ,
77+ "More" ,
78+ picopass_scene_read_card_success_widget_callback ,
79+ picopass );
7280 } else if (configCard ) {
7381 furi_string_cat_printf (wiegand_str , "Config Card" );
7482 } else if (empty ) {
@@ -86,9 +94,6 @@ void picopass_scene_read_card_success_on_enter(void* context) {
8694 } else {
8795 furi_string_cat_printf (wiegand_str , "Invalid PACS" );
8896 }
89- if (pacs -> se_enabled ) {
90- furi_string_cat_printf (credential_str , "SE enabled" );
91- }
9297 widget_add_button_element (
9398 widget ,
9499 GuiButtonTypeCenter ,
@@ -190,6 +195,10 @@ bool picopass_scene_read_card_success_on_event(void* context, SceneManagerEvent
190195 consumed = scene_manager_search_and_switch_to_another_scene (
191196 picopass -> scene_manager , PicopassSceneStart );
192197 }
198+ } else if (event .type == SceneManagerEventTypeBack ) {
199+ scene_manager_search_and_switch_to_previous_scene (
200+ picopass -> scene_manager , PicopassSceneStart );
201+ consumed = true;
193202 }
194203 return consumed ;
195204}
0 commit comments