1
0
mirror of https://codeberg.org/tom79/Fedilab synced 2024-12-12 03:16:36 +01:00

condition error

This commit is contained in:
Thomas 2022-09-12 18:19:18 +02:00
parent 05efea29ef
commit f8349503c9

View File

@ -125,7 +125,7 @@ public class PinnedTimelineHelper {
activityMainBinding.viewPager.setLayoutParams(params); activityMainBinding.viewPager.setLayoutParams(params);
List<PinnedTimeline> pinnedTimelines = pinned.pinnedTimelines; List<PinnedTimeline> pinnedTimelines = pinned.pinnedTimelines;
if (!singleBar) { if (singleBar) {
boolean createDefaultAtTop = true; boolean createDefaultAtTop = true;
for (PinnedTimeline pinnedTimeline : pinned.pinnedTimelines) { for (PinnedTimeline pinnedTimeline : pinned.pinnedTimelines) {
if (pinnedTimeline.type == Timeline.TimeLineEnum.HOME) { if (pinnedTimeline.type == Timeline.TimeLineEnum.HOME) {