mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Apply message text zoom to composer too
This commit is contained in:
parent
7a8916f141
commit
1de4dee732
1 changed files with 3 additions and 1 deletions
|
@ -1363,9 +1363,11 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void setZoom() {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
int message_zoom = prefs.getInt("message_zoom", 100);
|
||||
float textSize = Helper.getTextSize(getContext(), zoom);
|
||||
if (textSize != 0) {
|
||||
etBody.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
||||
etBody.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize * message_zoom / 100f);
|
||||
tvReference.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue