Browse Source

Update WebView.android.tsx

Remove checking of startUrl === curentUrl
Jason Foo 5 years ago
parent
commit
99d5f4fe90
No account linked to committer's email address
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      src/WebView.android.tsx

+ 3
- 5
src/WebView.android.tsx View File

237
     if (onLoadEnd) {
237
     if (onLoadEnd) {
238
       onLoadEnd(event);
238
       onLoadEnd(event);
239
     }
239
     }
240
-    if (url === this.startUrl) {
241
-      this.setState({
242
-        viewState: 'IDLE',
243
-      });
244
-    }
240
+    this.setState({
241
+      viewState: 'IDLE',
242
+    });
245
     this.updateNavigationState(event);
243
     this.updateNavigationState(event);
246
   };
244
   };
247
 
245