Minor tvOS layout fixes

This commit is contained in:
Arkadiusz Fal
2022-06-26 14:55:23 +02:00
parent 993e602ca3
commit d330771fef
5 changed files with 27 additions and 20 deletions

View File

@@ -69,6 +69,9 @@ struct PlayerControls: View {
.offset(y: -25)
.zIndex(1)
}
#if os(tvOS)
.offset(y: -100)
#endif
.frame(maxWidth: 500)
.padding(.bottom, 2)
}
@@ -260,7 +263,9 @@ struct PlayerControls: View {
HStack(spacing: 20) {
restartVideoButton
advanceToNextItemButton
musicModeButton
#if !os(tvOS)
musicModeButton
#endif
}
.frame(maxWidth: .infinity, alignment: .trailing)
}