Skip to content

Commit

Permalink
fix: Crash if WebView is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Pajn committed Aug 26, 2022
1 parent 2452c5f commit a68ab50
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ protected void doInBackgroundGuarded(Void... params) {
|| (message != null
&& (message.contains("WebView provider")
|| message.contains("No WebView installed")
|| message.contains("Cannot load WebView")))) {
|| message.contains("Cannot load WebView")))
|| message.contains("disableWebView")
|| message.contains("WebView is disabled")) {
return null;
} else {
throw exception;
Expand Down

0 comments on commit a68ab50

Please sign in to comment.