@@ -52,7 +52,6 @@ void picopass_scene_read_card_success_on_enter(void* context) {
52
52
53
53
if (pacs -> se_enabled ) {
54
54
furi_string_cat_printf (credential_str , "SE enabled" );
55
-
56
55
} else if (!hid_csn ) {
57
56
furi_string_cat_printf (credential_str , "Non-HID CSN" );
58
57
}
@@ -69,6 +68,15 @@ void picopass_scene_read_card_success_on_enter(void* context) {
69
68
"More" ,
70
69
picopass_scene_read_card_success_widget_callback ,
71
70
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 );
72
80
} else if (configCard ) {
73
81
furi_string_cat_printf (wiegand_str , "Config Card" );
74
82
} else if (empty ) {
@@ -86,9 +94,6 @@ void picopass_scene_read_card_success_on_enter(void* context) {
86
94
} else {
87
95
furi_string_cat_printf (wiegand_str , "Invalid PACS" );
88
96
}
89
- if (pacs -> se_enabled ) {
90
- furi_string_cat_printf (credential_str , "SE enabled" );
91
- }
92
97
widget_add_button_element (
93
98
widget ,
94
99
GuiButtonTypeCenter ,
@@ -190,6 +195,10 @@ bool picopass_scene_read_card_success_on_event(void* context, SceneManagerEvent
190
195
consumed = scene_manager_search_and_switch_to_another_scene (
191
196
picopass -> scene_manager , PicopassSceneStart );
192
197
}
198
+ } else if (event .type == SceneManagerEventTypeBack ) {
199
+ scene_manager_search_and_switch_to_previous_scene (
200
+ picopass -> scene_manager , PicopassSceneStart );
201
+ consumed = true;
193
202
}
194
203
return consumed ;
195
204
}
0 commit comments