1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Disable inline WebView scroll

This commit is contained in:
M66B 2019-05-03 10:44:36 +02:00
parent ce633798a3
commit c5ced1e885

View file

@ -1433,6 +1433,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
getMeasuredWidth(),
Math.max(tvBody.getMinHeight(), getMeasuredHeight()));
}
@Override
public void scrollTo(int x, int y) {
// Do nothing
}
@Override
public void computeScroll() {
// Do nothing
}
};
setupWebView(webView);