Adding a todo
This commit is contained in:
parent
5118a1fb1e
commit
b79b69d961
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ public class HomeTimelineFragment extends StatusListFragment{
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<Status> filterPosts(List<Status> items) {
|
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 ->
|
return items.stream().filter(i ->
|
||||||
(GlobalUserPreferences.showReplies || i.inReplyToId == null) &&
|
(GlobalUserPreferences.showReplies || i.inReplyToId == null) &&
|
||||||
(GlobalUserPreferences.showBoosts || i.reblog == null)
|
(GlobalUserPreferences.showBoosts || i.reblog == null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue