Skip to content

Commit

Permalink
Update RNGestureHandlerEvent.java
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceathens authored Aug 14, 2020
1 parent d32f95d commit d23eca3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ public short getCoalescingKey() {

@Override
public void dispatch(RCTEventEmitter rctEventEmitter) {
rctEventEmitter.receiveEvent(getViewTag(), EVENT_NAME, mExtraData);
if (mExtraData != null) {
rctEventEmitter.receiveEvent(getViewTag(), EVENT_NAME, mExtraData);
}
}
}

0 comments on commit d23eca3

Please sign in to comment.