Skip to content

Commit

Permalink
refactor(MC-2493): Ignore system font size changes in CTInAppWebView (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vasct authored Jan 23, 2025
1 parent 3aa7fc3 commit 3d4561f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public CTInAppWebView(Context context, int widthDp, int heightDp, int widthPerce
setVerticalFadingEdgeEnabled(false);
setOverScrollMode(View.OVER_SCROLL_NEVER);
setBackgroundColor(0x00000000);
// set the text zoom in order to ignore device font size changes
getSettings().setTextZoom(100);
//noinspection ResourceType
setId(188293);
}
Expand Down

0 comments on commit 3d4561f

Please sign in to comment.