1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 08:29:24 +00:00

Unbounded WebView again

This commit is contained in:
M66B 2022-06-13 12:10:03 +02:00
parent 3eeb31b76e
commit 6844d50306

View file

@ -236,8 +236,6 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
int mh = getMeasuredHeight();
Log.i("Measured height=" + mh + " last=" + height + "/" + maxHeight + " ch=" + getContentHeight());
if (mh > maxHeight)
setMeasuredDimension(getMeasuredWidth(), maxHeight);
if (mh == 0 && legacy)
setMeasuredDimension(getMeasuredWidth(), height);
}