Skip to content

Commit

Permalink
Update RNGestureHandlerStateChangeEvent.java
Browse files Browse the repository at this point in the history
Apply patch from software-mansion#1089
  • Loading branch information
aliceathens authored Aug 14, 2020
1 parent d23eca3 commit 004d02f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,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 004d02f

Please sign in to comment.