Skip to content

Commit

Permalink
Dismiss loader only on loadStop
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozRatej committed May 26, 2024
1 parent 2d92d2e commit 8ae0586
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/flavored/web_view.f.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ class FlavoredWebViewState extends ConsumerState<WebViewF> {
} else {
logError('Could not launch $urlToOpen');
}
LoadingProvider.of(ref).dismissAll();
return Future.value(true); // Allow creating a new window.
}

Expand All @@ -186,7 +185,6 @@ class FlavoredWebViewState extends ConsumerState<WebViewF> {

void _onLoadStart(InAppWebViewController controller, Uri? url) async {
_setAjaxHeadersJQuery(controller);
LoadingProvider.of(ref).dismissAll();
}

void _onLoadError(InAppWebViewController controller, Uri? url, int code, String message) async {
Expand Down

0 comments on commit 8ae0586

Please sign in to comment.