Skip to content

Commit

Permalink
fix: take gif as video
Browse files Browse the repository at this point in the history
Co-authored-by: Next Alone <12210746+NextAlone@users.noreply.github.com>
  • Loading branch information
omg-xtao and NextAlone committed Apr 17, 2024
1 parent 6a6b227 commit 65517f7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12687,7 +12687,7 @@ private void setIsAboutToSwitchToIndex(int index, boolean init, boolean animated
}
newMessageObject = imagesArr.get(switchingToIndex);
newMessageObject.updateTranslation();
isVideo = newMessageObject.isVideo();
isVideo = newMessageObject.isVideo() || (newMessageObject.isGif() && NekoConfig.takeGIFasVideo.Bool());

title = FilteredSearchView.createFromInfoString(newMessageObject, opennedFromMedia && !openedFromProfile, 0);
CharSequence subtitle = null;
Expand Down

0 comments on commit 65517f7

Please sign in to comment.