mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 22:21:18 +00:00
Slightly larger icon in compact view
This commit is contained in:
parent
f142e0b647
commit
759683457f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue