mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-01-18 20:21:44 +01:00
Fix #747
This commit is contained in:
parent
723853079e
commit
d1aba87e13
@ -178,6 +178,7 @@ public class HomeTimelineFragment extends StatusListFragment implements ToolbarD
|
|||||||
if(refreshing)
|
if(refreshing)
|
||||||
list.scrollToPosition(0);
|
list.scrollToPosition(0);
|
||||||
maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
|
maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
|
||||||
|
AccountSessionManager.get(accountID).filterStatuses(result, FilterContext.PUBLIC);
|
||||||
onDataLoaded(result, !result.isEmpty());
|
onDataLoaded(result, !result.isEmpty());
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -191,6 +192,7 @@ public class HomeTimelineFragment extends StatusListFragment implements ToolbarD
|
|||||||
if(refreshing)
|
if(refreshing)
|
||||||
list.scrollToPosition(0);
|
list.scrollToPosition(0);
|
||||||
maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
|
maxID=result.isEmpty() ? null : result.get(result.size()-1).id;
|
||||||
|
AccountSessionManager.get(accountID).filterStatuses(result, FilterContext.HOME);
|
||||||
onDataLoaded(result, !result.isEmpty());
|
onDataLoaded(result, !result.isEmpty());
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user