Skip to content

Commit

Permalink
change prop in callback to visible
Browse files Browse the repository at this point in the history
  • Loading branch information
chaimPaneth committed Dec 4, 2021
1 parent d834f87 commit 1ca9c3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ public void onComplete(CompleteEvent completeEvent) {
public void onControlBarVisibilityChanged(ControlBarVisibilityEvent controlBarVisibilityEvent) {
WritableMap event = Arguments.createMap();
event.putString("message", "onControlBarVisible");
event.putBoolean("controls", controlBarVisibilityEvent.isVisible());
event.putBoolean("visible", controlBarVisibilityEvent.isVisible());
getReactContext().getJSModule(RCTEventEmitter.class).receiveEvent(getId(), "topControlBarVisible", event);

updateWakeLock(true);
Expand Down

0 comments on commit 1ca9c3f

Please sign in to comment.