From 51c3bc56f30296e4fc5814677b81e12e11d01a76 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 31 Jul 2022 11:13:20 +0200 Subject: [PATCH] clean --- .../ui/fragment/timeline/FragmentMastodonTimeline.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/ui/fragment/timeline/FragmentMastodonTimeline.java b/app/src/main/java/app/fedilab/android/ui/fragment/timeline/FragmentMastodonTimeline.java index b06c104a..0bf57999 100644 --- a/app/src/main/java/app/fedilab/android/ui/fragment/timeline/FragmentMastodonTimeline.java +++ b/app/src/main/java/app/fedilab/android/ui/fragment/timeline/FragmentMastodonTimeline.java @@ -942,9 +942,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter. } } else { timelinesVM.getHome(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, true, max_id_fetch_more, null, null, MastodonHelper.statusesPerCall(requireActivity()), false) - .observe(getViewLifecycleOwner(), statusesBottom -> { - dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true); - }); + .observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true)); } } else if (direction == DIRECTION.TOP) { if (!fetchingMissing) {