Adding a todo

This commit is contained in:
LucasGGamerM 2023-01-18 15:46:15 -03:00
parent 5118a1fb1e
commit b79b69d961
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class HomeTimelineFragment extends StatusListFragment{
}
private List<Status> filterPosts(List<Status> items) {
// This is the function I must use to solve the filters thing for real
return items.stream().filter(i ->
(GlobalUserPreferences.showReplies || i.inReplyToId == null) &&
(GlobalUserPreferences.showBoosts || i.reblog == null)