Slightly larger icon in compact view

This commit is contained in:
M66B 2019-09-30 20:20:36 +02:00
parent f142e0b647
commit 759683457f
1 changed files with 1 additions and 1 deletions

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);