Undo Bad Implementation.
Testing to see if this is the reason.
This commit is contained in:
parent
fed99eeb69
commit
0429b4d1d9
1 changed files with 0 additions and 11 deletions
|
|
@ -883,9 +883,6 @@ static NSString *accessGroupID() {
|
|||
BOOL hideClipButton = IS_ENABLED(@"hideClipButton_enabled");
|
||||
BOOL hideSaveToPlaylistButton = IS_ENABLED(@"hideSaveToPlaylistButton_enabled");
|
||||
|
||||
CGFloat buttonSeparation = 8;
|
||||
CGFloat currentX = 0;
|
||||
|
||||
for (UIView *subview in self.subviews) {
|
||||
if ([subview.accessibilityLabel isEqualToString:@"connect account"]) {
|
||||
subview.hidden = hideConnectButton;
|
||||
|
|
@ -902,14 +899,6 @@ static NSString *accessGroupID() {
|
|||
} else if ([subview.accessibilityLabel isEqualToString:@"Save to playlist"]) {
|
||||
subview.hidden = hideSaveToPlaylistButton;
|
||||
}
|
||||
|
||||
if (!subview.hidden) {
|
||||
CGRect frame = subview.frame;
|
||||
frame.origin.x = currentX;
|
||||
subview.frame = frame;
|
||||
|
||||
currentX += frame.size.width + buttonSeparation;
|
||||
}
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue