diff --git a/Limelight/MenuSectionView.m b/Limelight/MenuSectionView.m index e9c1efad..948dabcd 100644 --- a/Limelight/MenuSectionView.m +++ b/Limelight/MenuSectionView.m @@ -259,7 +259,6 @@ - (void)addToParentStack:(UIStackView *)parentStack { [parentStack insertArrangedSubview:self atIndex:parentStack.arrangedSubviews.count]; - NSLog(@"title: %@, count: %ld", self.sectionTitle, parentStack.arrangedSubviews.count); self.translatesAutoresizingMaskIntoConstraints = NO; [NSLayoutConstraint activateConstraints:@[ [self.leadingAnchor constraintEqualToAnchor:parentStack.leadingAnchor constant:0], @@ -317,9 +316,6 @@ - (void)updateViewForFoldState { - if([self getSettingsMenuMode] != AllSettings) return; - [self setNeedsLayout]; - [self layoutIfNeeded]; [self setupConstraints]; if (_expanded) { _rootStackView.hidden = NO; diff --git a/Limelight/ViewControllers/HostCollectionViewController.m b/Limelight/ViewControllers/HostCollectionViewController.m index 5b9dd6bf..4c2be233 100644 --- a/Limelight/ViewControllers/HostCollectionViewController.m +++ b/Limelight/ViewControllers/HostCollectionViewController.m @@ -202,15 +202,12 @@ static const CGFloat cellOffsetY = 20; - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath { - NSLog(@"return cellsize: %f, %f", self.cellSize.width, self.cellSize.height); return self.cellSize; } - (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section { - NSLog(@"return iterIterm: %f", self.interItemMinimumSpacing); - return self.interItemMinimumSpacing; }