1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Prevent crash

This commit is contained in:
M66B 2022-01-01 14:58:31 +01:00
parent d4fe78781d
commit d9f76a2b79

View file

@ -2406,7 +2406,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
webView.setMinimumHeight(height);
int maxHeight = rv.getHeight() - rv.getPaddingTop();
int maxHeight = (rv == null ? 0 : rv.getHeight() - rv.getPaddingTop());
webView.init(height, maxHeight, size, position, force_light,
new WebViewEx.IWebView() {
@Override