mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Fixed text size scaling
This commit is contained in:
@@ -189,7 +189,7 @@ public class Helper {
|
||||
else
|
||||
ta = context.obtainStyledAttributes(
|
||||
R.style.TextAppearance_AppCompat_Medium, new int[]{android.R.attr.textSize});
|
||||
return ta.getDimension(0, 0) / context.getResources().getDisplayMetrics().density;
|
||||
return ta.getDimension(0, 0);
|
||||
} finally {
|
||||
if (ta != null)
|
||||
ta.recycle();
|
||||
|
||||
Reference in New Issue
Block a user