diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-28 11:50:14 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-28 11:50:14 +0000 |
commit | f5320c1e60fbc9e967c11189a3da00fd8b440278 (patch) | |
tree | 9c1daafdb309f373d5a2af007e93f41db5af027a | |
parent | ec7636e313c6b8b79902b1df470fb377b53bde86 (diff) | |
download | infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar.gz infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar.bz2 infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar.lz infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar.xz infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.tar.zst infinity-for-reddit-f5320c1e60fbc9e967c11189a3da00fd8b440278.zip |
Fix Gallery posts not showing preview image.
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java index 4aba1588..de812011 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java @@ -422,6 +422,7 @@ public class ParsePost { if (!gallery.isEmpty()) { post.setPostType(Post.GALLERY_TYPE); post.setGallery(gallery); + post.setPreviews(previews); } } else if (post.getPostType() == Post.LINK_TYPE) { Uri uri = Uri.parse(url); |