From c0f556290d4699ca679ff5c520e14b3d31c52ff9 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 26 Nov 2022 17:56:56 +0100 Subject: [PATCH] Fix issue go to top on profiles --- .../ui/fragment/timeline/FragmentMastodonTimeline.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 fd78dab4b..cb2765959 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 @@ -212,7 +212,9 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter. router(null); } if (timelineStatuses != null && timelineStatuses.size() > 0) { - route(DIRECTION.FETCH_NEW, true); + if (timelineType != Timeline.TimeLineEnum.ACCOUNT_TIMELINE) { + route(DIRECTION.FETCH_NEW, true); + } } }