mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
correctly assign barCode to BarCodeReadEvent
This commit is contained in:
parent
f63ccf1ee3
commit
612b3bfe9a
@ -24,7 +24,7 @@ public class BarCodeReadEvent extends Event<BarCodeReadEvent> {
|
||||
if (event == null) {
|
||||
event = new BarCodeReadEvent();
|
||||
}
|
||||
event.init(viewTag);
|
||||
event.init(viewTag, barCode);
|
||||
return event;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user