mirror of https://github.com/M66B/FairEmail.git
Smaller date header size when zooming
This commit is contained in:
parent
b82b014219
commit
61323e0d2e
|
@ -789,7 +789,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
}
|
||||
|
||||
if (dh) {
|
||||
tvDate.setTextSize(TypedValue.COMPLEX_UNIT_PX, Helper.getTextSize(parent.getContext(), adapter.getZoom()));
|
||||
int zoom = adapter.getZoom();
|
||||
if (zoom > 0)
|
||||
zoom--;
|
||||
tvDate.setTextSize(TypedValue.COMPLEX_UNIT_PX, Helper.getTextSize(parent.getContext(), zoom));
|
||||
if (date_bold)
|
||||
tvDate.setTypeface(Typeface.DEFAULT_BOLD);
|
||||
|
||||
|
|
Loading…
Reference in New Issue