Skip to content

Commit 6e8be1b

Browse files
authored
Merge pull request #43 from qistoph/fb_typecodes
Add type codes
2 parents ad90e0f + 028cf78 commit 6e8be1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scenes/passy_scene_read_success.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ void passy_scene_read_success_on_enter(void* context) {
4141
}
4242

4343
if(dg1->mrz.buf[0] == 'I' && dg1->mrz.buf[1] == 'P') {
44-
furi_string_cat_printf(str, "Passport card\n");
44+
furi_string_cat_printf(str, "Passport card (IP)\n");
4545
} else if(dg1->mrz.buf[0] == 'I') {
46-
furi_string_cat_printf(str, "ID Card\n");
46+
furi_string_cat_printf(str, "ID Card (I)\n");
4747
} else if(dg1->mrz.buf[0] == 'P') {
48-
furi_string_cat_printf(str, "Passport book\n");
48+
furi_string_cat_printf(str, "Passport book (P)\n");
4949
} else if(dg1->mrz.buf[0] == 'A') {
50-
furi_string_cat_printf(str, "Residency Permit\n");
50+
furi_string_cat_printf(str, "Residency Permit (A)\n");
5151
} else {
52-
furi_string_cat_printf(str, "Unknown\n");
52+
furi_string_cat_printf(str, "Unknown (%c%c)\n", dg1->mrz.buf[0], dg1->mrz.buf[1]);
5353
}
5454

5555
uint8_t td_variant = 0;

0 commit comments

Comments
 (0)