Skip to content

Commit

Permalink
refactor(preview-quote-toots): remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Jul 4, 2024
1 parent cfde442 commit 0d4158a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,6 @@ public void onAddQuoteToStatus(Status status, Status parentStatus) {
}

int flags= (StatusDisplayItem.FLAG_NO_FOOTER | StatusDisplayItem.FLAG_INSET | StatusDisplayItem.FLAG_NO_EMOJI_REACTIONS | StatusDisplayItem.FLAG_IS_FOR_QUOTE);
if (GlobalUserPreferences.spectatorMode)
flags |= StatusDisplayItem.FLAG_NO_FOOTER;
if (!GlobalUserPreferences.showMediaPreview)
flags |= StatusDisplayItem.FLAG_NO_MEDIA_PREVIEW;

Expand Down

0 comments on commit 0d4158a

Please sign in to comment.