1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 06:31:17 +00:00

Slightly larger icon in compact view

This commit is contained in:
M66B 2019-09-30 20:20:36 +02:00
parent f142e0b647
commit 759683457f

View file

@ -650,7 +650,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
tvPreview.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize * 0.9f);
int px = Math.round(TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_PX, textSize * (compact ? 1.5f : 3.0f),
TypedValue.COMPLEX_UNIT_PX, textSize * (compact ? 2.0f : 3.0f),
context.getResources().getDisplayMetrics()));
if (compact && tvFrom.getMinHeight() != px)
tvFrom.setMinimumHeight(px);