mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 11:17:33 +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
|
||||
if (card.getBarcodeFormat() == BarcodeFormat.CODE_39 ||
|
||||
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) {
|
||||
ret.add(card);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user