Skip to content

Commit

Permalink
Update Application/Sources/UI/Controllers/TabBarController.m
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Yves <py.bertholon@gmail.com>
  • Loading branch information
mutaben and pyby authored Dec 4, 2024
1 parent b8e0492 commit 4091e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Sources/UI/Controllers/TabBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ - (void)updateLayoutAnimated:(BOOL)animated
if (@available(iOS 18.0, *)) {
if (self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassCompact) {
if (UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad) {
self.playerBottomToViewConstraint.constant = -self.tabBar.bounds.size.height;
self.playerBottomToViewConstraint.constant = -self.tabBar.bounds.size.height - self.miniPlayerOffset + self.view.safeAreaInsets.bottom;
} else {
self.playerBottomToViewConstraint.constant = -self.miniPlayerOffset;
}
Expand Down

0 comments on commit 4091e0e

Please sign in to comment.