Properly set emoji reactions padding
This commit is contained in:
parent
fcf7665ab5
commit
e3df5ce0a8
|
@ -208,6 +208,14 @@ public class EmojiReactionsStatusDisplayItem extends StatusDisplayItem {
|
||||||
updateVisibility(item.isHidden(), true);
|
updateVisibility(item.isHidden(), true);
|
||||||
imgLoader.updateImages();
|
imgLoader.updateImages();
|
||||||
adapter.notifyDataSetChanged();
|
adapter.notifyDataSetChanged();
|
||||||
|
|
||||||
|
if(!GlobalUserPreferences.showDividers || item.isHidden())
|
||||||
|
return;
|
||||||
|
|
||||||
|
StatusDisplayItem next=getNextVisibleDisplayItem().orElse(null);
|
||||||
|
if(next!=null && !next.parentID.equals(item.parentID)) next=null;
|
||||||
|
if(next instanceof ExtendedFooterStatusDisplayItem)
|
||||||
|
itemView.setPadding(0, 0, 0, V.dp(12));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateVisibility(boolean hidden, boolean force){
|
private void updateVisibility(boolean hidden, boolean force){
|
||||||
|
|
Loading…
Reference in New Issue