mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
[FL-3760] NFC Parsers cosmetic fixes (#3511)
* NFC Parsers cosmetic fixes * Clarify the unknown digit indication Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
a5bb1ead68
commit
4a673397b3
4 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ static bool myki_parse(const NfcDevice* device, FuriString* parsed_data) {
|
|||
// Stored card number doesn't include check digit
|
||||
card_number += myki_calculate_luhn(card_number);
|
||||
|
||||
furi_string_set(parsed_data, "\e#myki\n");
|
||||
furi_string_set(parsed_data, "\e#myki\nNo.: ");
|
||||
|
||||
// Stylise card number according to the physical card
|
||||
char card_string[20];
|
||||
|
|
|
@ -170,7 +170,7 @@ static bool opal_parse(const NfcDevice* device, FuriString* parsed_data) {
|
|||
|
||||
furi_string_printf(
|
||||
parsed_data,
|
||||
"\e#Opal: $%s%ld.%02hu\n3085 22%02hhu %04hu %03hu%01hhu\n%s, %s\n",
|
||||
"\e#Opal: $%s%ld.%02hu\nNo.: 3085 22%02hhu %04hu %03hu%01hhu\n%s, %s\n",
|
||||
sign,
|
||||
balance_dollars,
|
||||
balance_cents,
|
||||
|
|
|
@ -191,7 +191,7 @@ static bool plantain_parse(const NfcDevice* device, FuriString* parsed_data) {
|
|||
}
|
||||
|
||||
furi_string_printf(
|
||||
parsed_data, "\e#Plantain\nN:%llu-\nBalance:%lu\n", card_number, balance);
|
||||
parsed_data, "\e#Plantain\nNo.: %llu?\nBalance:%lu\n", card_number, balance);
|
||||
parsed = true;
|
||||
} while(false);
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ static bool two_cities_parse(const NfcDevice* device, FuriString* parsed_data) {
|
|||
|
||||
furi_string_printf(
|
||||
parsed_data,
|
||||
"\e#Troika+Plantain\nPN: %llu-\nPB: %lu rur.\nTN: %lu\nTB: %u rur.\n",
|
||||
"\e#Troika+Plantain\nPN: %llu?\nPB: %lu rur.\nTN: %lu\nTB: %u rur.\n",
|
||||
card_number,
|
||||
balance,
|
||||
troika_number,
|
||||
|
|
Loading…
Reference in a new issue