diff --git a/Application/Sources/UI/Controllers/TabBarController.m b/Application/Sources/UI/Controllers/TabBarController.m index c9b23c83e..2c510d88f 100755 --- a/Application/Sources/UI/Controllers/TabBarController.m +++ b/Application/Sources/UI/Controllers/TabBarController.m @@ -434,13 +434,9 @@ - (void)updateLayoutAnimated:(BOOL)animated } self.playerHeightConstraint.active = YES; - if (self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassRegular) { - self.playerBottomToViewConstraint.active = NO; - self.playerBottomToSafeAreaConstraint.active = YES; - } else { - self.playerBottomToViewConstraint.active = YES; - self.playerBottomToSafeAreaConstraint.active = NO; - } + BOOL isRegular = (self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassRegular); + self.playerBottomToViewConstraint.active = ! isRegular; + self.playerBottomToSafeAreaConstraint.active = isRegular; CALayer *miniPlayerLayer = self.miniPlayerView.layer; if (UIAccessibilityIsVoiceOverRunning()) {