XZING uses uppercase typenames

This commit is contained in:
Sylvia van Os
2019-12-09 19:33:17 +01:00
parent 5a046b037e
commit 05d38a0184

View File

@@ -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";
}