mirror of
https://github.com/yattee/yattee.git
synced 2025-12-14 03:58:14 +00:00
Initial functionality of player items queue
Fix environment objects Hide video player placeholder on tvOS Queue improvements
This commit is contained in:
@@ -56,6 +56,7 @@ struct SignInRequiredView<Content: View>: View {
|
||||
openSettingsButton
|
||||
#endif
|
||||
}
|
||||
.frame(minWidth: 0, maxWidth: .infinity, alignment: .center)
|
||||
}
|
||||
|
||||
var openSettingsButton: some View {
|
||||
@@ -74,9 +75,12 @@ struct SignInRequiredView<Content: View>: View {
|
||||
|
||||
struct SignInRequiredView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
SignInRequiredView(title: "Subscriptions") {
|
||||
Text("Only when signed in")
|
||||
PlayerControlsView {
|
||||
SignInRequiredView(title: "Subscriptions") {
|
||||
Text("Only when signed in")
|
||||
}
|
||||
}
|
||||
.environmentObject(PlayerModel())
|
||||
.environmentObject(InvidiousAPI())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user