Jason Foo 4 vuotta sitten
vanhempi
commit
2931c01acb
No account linked to committer's email address
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      src/WebView.android.tsx

+ 2
- 2
src/WebView.android.tsx Näytä tiedosto

247
     if (onLoadEnd) {
247
     if (onLoadEnd) {
248
       onLoadEnd(event);
248
       onLoadEnd(event);
249
     }
249
     }
250
-    if (url === this.startUrl) {
250
+    if (url && this.startUrl && url.toLowerCase() === this.startUrl.toLowerCase()) {
251
       this.setState({
251
       this.setState({
252
-        viewState: 'IDLE',
252
+          viewState: 'IDLE',
253
       });
253
       });
254
     }
254
     }
255
     this.updateNavigationState(event);
255
     this.updateNavigationState(event);