Handle the content inset area at the bottom of newer devices

This commit is contained in:
Jackson Harper
2023-02-21 16:32:58 +08:00
parent 073fd66f4f
commit 1650a1dee2

View File

@ -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
}