fix bottom padding for above emoji reactions
This commit is contained in:
parent
9bfc73d6ee
commit
fb39f74ba5
|
@ -198,8 +198,8 @@ public class TextStatusDisplayItem extends StatusDisplayItem{
|
||||||
if(next!=null && !next.parentID.equals(item.parentID)) next=null;
|
if(next!=null && !next.parentID.equals(item.parentID)) next=null;
|
||||||
int bottomPadding=next instanceof FooterStatusDisplayItem ? V.dp(6)
|
int bottomPadding=next instanceof FooterStatusDisplayItem ? V.dp(6)
|
||||||
: item.inset ? V.dp(12)
|
: item.inset ? V.dp(12)
|
||||||
: next!=null ? V.dp(12)
|
: (next instanceof EmojiReactionsStatusDisplayItem || next==null) ? 0
|
||||||
: 0;
|
: V.dp(12);
|
||||||
itemView.setPadding(itemView.getPaddingLeft(), itemView.getPaddingTop(), itemView.getPaddingRight(), bottomPadding);
|
itemView.setPadding(itemView.getPaddingLeft(), itemView.getPaddingTop(), itemView.getPaddingRight(), bottomPadding);
|
||||||
|
|
||||||
if (!GlobalUserPreferences.collapseLongPosts) {
|
if (!GlobalUserPreferences.collapseLongPosts) {
|
||||||
|
|
Loading…
Reference in New Issue