forked from mirrors/Fedilab
Add counter for new messages
This commit is contained in:
parent
e2be4871e0
commit
e55c154139
1 changed files with 3 additions and 2 deletions
|
@ -82,7 +82,9 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
route(DIRECTION.FETCH_NEW, true);
|
||||
if (timelineStatuses != null && timelineStatuses.size() > 0) {
|
||||
route(DIRECTION.FETCH_NEW, true);
|
||||
}
|
||||
}
|
||||
|
||||
//Handle actions that can be done in other fragments
|
||||
|
@ -535,7 +537,6 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
|||
timelineParams.maxId = max_id;
|
||||
}
|
||||
timelineParams.fetchingMissing = fetchingMissing;
|
||||
|
||||
switch (timelineType) {
|
||||
case LOCAL:
|
||||
timelineParams.local = true;
|
||||
|
|
Loading…
Reference in a new issue