Removed webview default font size

This commit is contained in:
M66B 2019-04-27 11:19:33 +02:00
parent 3348995a5f
commit ccd1e532fd
1 changed files with 0 additions and 5 deletions

View File

@ -1469,11 +1469,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
settings.setAllowFileAccess(false);
// Set default font
int px = Math.round(TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_PX, textSize,
context.getResources().getDisplayMetrics()));
settings.setDefaultFontSize(px);
if (monospaced)
settings.setStandardFontFamily("monospace");