mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-18 05:36:39 -04:00
XZING uses uppercase typenames
This commit is contained in:
@@ -73,7 +73,7 @@ public class PkpassImporter {
|
||||
}
|
||||
|
||||
String cardId = barcode.getString("message");
|
||||
String barcodeType = barcode.getString("format").substring("PKBarcodeFormat".length());
|
||||
String barcodeType = barcode.getString("format").substring("PKBarcodeFormat".length()).toUpperCase();
|
||||
if (barcodeType.equals("QR")) {
|
||||
barcodeType = "QR_CODE";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user