Skip to content

Commit b1780eb

Browse files
committed
Fixed compilation error
1 parent 7471e36 commit b1780eb

File tree

1 file changed

+5
-5
lines changed
  • lib/android/app/src/main/java/com/reactnativenavigation/react

1 file changed

+5
-5
lines changed

lib/android/app/src/main/java/com/reactnativenavigation/react/ReactView.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,31 +72,31 @@ public void destroy() {
7272

7373
public void sendComponentWillStart(ComponentType type) {
7474
this.post(()->{
75-
ReactContext currentReactContext = getReactContent();
75+
ReactContext currentReactContext = getReactContext();
7676
if (currentReactContext != null)
7777
new EventEmitter(currentReactContext).emitComponentWillAppear(componentId, componentName, type);
7878
});
7979
}
8080

8181
public void sendComponentStart(ComponentType type) {
8282
this.post(()->{
83-
ReactContext currentReactContext = getReactContent();
83+
ReactContext currentReactContext = getReactContext();
8484
if (currentReactContext != null) {
8585
new EventEmitter(currentReactContext).emitComponentDidAppear(componentId, componentName, type);
8686
}
8787
});
8888
}
8989

9090
public void sendComponentStop(ComponentType type) {
91-
ReactContext currentReactContext = getReactContent();
91+
ReactContext currentReactContext = getReactContext();
9292
if (currentReactContext != null) {
9393
new EventEmitter(currentReactContext).emitComponentDidDisappear(componentId, componentName, type);
9494
}
9595
}
9696

9797
@Override
9898
public void sendOnNavigationButtonPressed(String buttonId) {
99-
ReactContext currentReactContext = getReactContent();
99+
ReactContext currentReactContext = getReactContext();
100100
if (currentReactContext != null) {
101101
new EventEmitter(currentReactContext).emitOnNavigationButtonPressed(componentId, buttonId);
102102
}
@@ -121,7 +121,7 @@ public boolean isRendered() {
121121
}
122122

123123
public EventDispatcher getEventDispatcher() {
124-
ReactContext reactContext = getReactContent();
124+
ReactContext reactContext = getReactContext();
125125
return reactContext == null ? null : UIManagerHelper.getEventDispatcher(reactContext, UIManagerType.FABRIC);
126126
}
127127

0 commit comments

Comments
 (0)