mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-27 03:14:46 +02:00
Increase viewport hight for recent Pixel devices
This commit is contained in:
@@ -475,7 +475,10 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
|
||||
}
|
||||
|
||||
static int getDefaultViewportHeight(Context context) {
|
||||
return DEFAULT_VIEWPORT_HEIGHT;
|
||||
if (Helper.isGoogle() && Build.VERSION.SDK_INT > Build.VERSION_CODES.UPSIDE_DOWN_CAKE /* Android 14 */)
|
||||
return DEFAULT_VIEWPORT_HEIGHT * 2;
|
||||
else
|
||||
return DEFAULT_VIEWPORT_HEIGHT;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
||||
Reference in New Issue
Block a user