mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-30 11:34:43 +01:00
Fix Gallery posts not showing preview image.
This commit is contained in:
parent
ec7636e313
commit
f5320c1e60
@ -422,6 +422,7 @@ public class ParsePost {
|
|||||||
if (!gallery.isEmpty()) {
|
if (!gallery.isEmpty()) {
|
||||||
post.setPostType(Post.GALLERY_TYPE);
|
post.setPostType(Post.GALLERY_TYPE);
|
||||||
post.setGallery(gallery);
|
post.setGallery(gallery);
|
||||||
|
post.setPreviews(previews);
|
||||||
}
|
}
|
||||||
} else if (post.getPostType() == Post.LINK_TYPE) {
|
} else if (post.getPostType() == Post.LINK_TYPE) {
|
||||||
Uri uri = Uri.parse(url);
|
Uri uri = Uri.parse(url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user