fix: use correct polarization in FLAG_NO_MEDIA_PREVIEW in StatusListFragment

Wtf is wrong with this
This commit is contained in:
LucasGGamerM
2023-09-05 20:29:57 -03:00
parent 20f3c7c9db
commit ae61007d22

View File

@@ -48,7 +48,7 @@ public abstract class StatusListFragment extends BaseStatusListFragment<Status>
flags |= StatusDisplayItem.FLAG_NO_FOOTER;
if (!lp.emojiReactionsEnabled || lp.showEmojiReactions==ONLY_OPENED)
flags |= StatusDisplayItem.FLAG_NO_EMOJI_REACTIONS;
if(GlobalUserPreferences.showMediaPreview)
if(!GlobalUserPreferences.showMediaPreview)
flags |= StatusDisplayItem.FLAG_NO_MEDIA_PREVIEW;
return StatusDisplayItem.buildItems(this, s, accountID, s, knownAccounts, getFilterContext(), isMainThreadStatus ? 0 : flags);
}