fix(barcode): iniBarcodeReader (#2145)

This commit is contained in:
NIkita Belobrov 2019-03-14 17:40:46 +03:00 committed by Sibelius Seraphini
parent 4ea35e33bb
commit e46b8573f8

View File

@ -298,7 +298,7 @@ public class RNCameraView extends CameraView implements LifecycleEventListener,
for (String code : mBarCodeTypes) {
String formatString = (String) CameraModule.VALID_BARCODE_TYPES.get(code);
if (formatString != null) {
decodeFormats.add(BarcodeFormat.valueOf(code));
decodeFormats.add(BarcodeFormat.valueOf(formatString));
}
}
}