From 1650a1dee2ab0f99f539a52d4f7cdd2a9c7e300d Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 21 Feb 2023 16:32:58 +0800 Subject: [PATCH] Handle the content inset area at the bottom of newer devices --- .../Sources/App/Views/AudioPlayer/ExpandedPlayer.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift index eed28a3f5..12a693709 100644 --- a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/ExpandedPlayer.swift @@ -355,14 +355,13 @@ scrubber audioButtons } - .frame(height: 138) - .background(Color.themeSolidBackground) .padding(.bottom, 8) .cornerRadius(8) .padding(.bottom, -8) + .frame(maxWidth: .infinity, maxHeight: 138) + .background(Color.themeSolidBackground.ignoresSafeArea()) } } - .padding(0) .onAppear { self.tabIndex = audioController.currentAudioIndex }