From f8349503c9e8bdeabd6b6dbb983c701c3c8b48b3 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 12 Sep 2022 18:19:18 +0200 Subject: [PATCH] condition error --- .../java/app/fedilab/android/helper/PinnedTimelineHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java b/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java index fa157fb71..08d1cba1b 100644 --- a/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java @@ -125,7 +125,7 @@ public class PinnedTimelineHelper { activityMainBinding.viewPager.setLayoutParams(params); List pinnedTimelines = pinned.pinnedTimelines; - if (!singleBar) { + if (singleBar) { boolean createDefaultAtTop = true; for (PinnedTimeline pinnedTimeline : pinned.pinnedTimelines) { if (pinnedTimeline.type == Timeline.TimeLineEnum.HOME) {