mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Prevent WebView crashes
This commit is contained in:
parent
a93326cfe5
commit
818c9f79a3
1 changed files with 1 additions and 4 deletions
|
@ -478,10 +478,7 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
|
|||
}
|
||||
|
||||
static int getDefaultViewportHeight(Context context) {
|
||||
if (Helper.isGoogle() || Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU)
|
||||
return DEFAULT_VIEWPORT_HEIGHT * 2;
|
||||
else
|
||||
return DEFAULT_VIEWPORT_HEIGHT;
|
||||
return DEFAULT_VIEWPORT_HEIGHT;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
Loading…
Reference in a new issue