mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 13:29:50 +02:00
Version 5.1.0-beta2. Fix crash when hiding read posts.
This commit is contained in:
@@ -1704,6 +1704,9 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
}
|
||||
|
||||
public void markPostAsRead(Post post) {
|
||||
if (readPosts == null) {
|
||||
readPosts = new ArrayList<>();
|
||||
}
|
||||
readPosts.add(post.getId());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user