condition error
This commit is contained in:
parent
05efea29ef
commit
f8349503c9
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue