File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
android/src/main/java/com/expofp Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import com.expofp.crowdconnected.Mode
1616import com.expofp.crowdconnected.Settings
1717// import com.expofp.crowdconnectedbackground.CrowdConnectedBackgroundProvider
1818import com.expofp.fplan.FplanView
19+ import com.expofp.fplan.models.FplanViewState
1920import com.facebook.react.bridge.ReadableMap
2021import com.facebook.react.uimanager.SimpleViewManager
2122import com.facebook.react.uimanager.ThemedReactContext
@@ -64,7 +65,9 @@ class ExpofpViewManager : SimpleViewManager<View>() {
6465 GlobalLocationProvider .init (locationProvider)
6566 GlobalLocationProvider .start()
6667 }
67- view.load(it.getString(" url" ) ? : " " , com.expofp.fplan.models.Settings ().withGlobalLocationProvider());
68+ if (view.state.equals(FplanViewState .Created )) {
69+ view.load(it.getString(" url" ) ? : " " , com.expofp.fplan.models.Settings ().withGlobalLocationProvider());
70+ }
6871 }
6972 }
7073}
You can’t perform that action at this time.
0 commit comments