Player layout changes

This commit is contained in:
Arkadiusz Fal
2022-12-18 13:11:06 +01:00
parent 328119f0e0
commit ba1ec7c559
15 changed files with 147 additions and 169 deletions

View File

@@ -60,7 +60,9 @@ struct WatchNextView: View {
}
.padding(.horizontal)
}
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
#endif
.navigationTitle("Watch Next")
#if !os(macOS)
.toolbar {
@@ -78,7 +80,7 @@ struct WatchNextView: View {
var closeButton: some View {
Button {
player.closeCurrentItem()
player.hide(animate: true)
player.hide()
Delay.by(0.8) {
model.presentingOutro = false
}