mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-14 11:47:32 +01:00
Add EAN & UPC codes to supported cards
This commit is contained in:
parent
d1722dbf0d
commit
582c351142
@ -1741,6 +1741,10 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||||||
// we hardcode here what is supported
|
// we hardcode here what is supported
|
||||||
if (card.getBarcodeFormat() == BarcodeFormat.CODE_39 ||
|
if (card.getBarcodeFormat() == BarcodeFormat.CODE_39 ||
|
||||||
card.getBarcodeFormat() == BarcodeFormat.CODABAR ||
|
card.getBarcodeFormat() == BarcodeFormat.CODABAR ||
|
||||||
|
card.getBarcodeFormat() == BarcodeFormat.EAN_8 ||
|
||||||
|
card.getBarcodeFormat() == BarcodeFormat.EAN_13 ||
|
||||||
|
card.getBarcodeFormat() == BarcodeFormat.UPC_A ||
|
||||||
|
card.getBarcodeFormat() == BarcodeFormat.UPC_E ||
|
||||||
card.getBarcodeFormat() == BarcodeFormat.QR_CODE) {
|
card.getBarcodeFormat() == BarcodeFormat.QR_CODE) {
|
||||||
ret.add(card);
|
ret.add(card);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user