mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Set WebView minimum text size
This commit is contained in:
@@ -1448,7 +1448,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
final WebView webView = (WebView) vwBody;
|
||||
webView.setBackgroundColor(Color.TRANSPARENT);
|
||||
webView.getSettings().setLoadsImagesAutomatically(show_images);
|
||||
|
||||
WebSettings settings = webView.getSettings();
|
||||
settings.setDefaultFontSize(Math.round(textSize));
|
||||
settings.setDefaultFixedFontSize(Math.round(textSize));
|
||||
settings.setLoadsImagesAutomatically(show_images);
|
||||
|
||||
String html = properties.getHtml(message.id);
|
||||
if (TextUtils.isEmpty(html)) {
|
||||
|
||||
Reference in New Issue
Block a user