Commit e55c1541 authored by Thomas's avatar Thomas
Browse files

Add counter for new messages

parent e2be4871
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -82,8 +82,10 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
    @Override
    public void onResume() {
        super.onResume();
        if (timelineStatuses != null && timelineStatuses.size() > 0) {
            route(DIRECTION.FETCH_NEW, true);
        }
    }

    //Handle actions that can be done in other fragments
    private final BroadcastReceiver receive_action = new BroadcastReceiver() {
@@ -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;