mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 18:24:02 +00:00
Player controls settings
This commit is contained in:
@@ -84,9 +84,13 @@ struct VideoActions: View {
|
||||
Group {
|
||||
switch action {
|
||||
case .share:
|
||||
ShareButton(contentItem: .init(video: video)) {
|
||||
actionButton("Share", systemImage: "square.and.arrow.up")
|
||||
}
|
||||
#if os(tvOS)
|
||||
EmptyView()
|
||||
#else
|
||||
ShareButton(contentItem: .init(video: video)) {
|
||||
actionButton("Share", systemImage: "square.and.arrow.up")
|
||||
}
|
||||
#endif
|
||||
case .addToPlaylist:
|
||||
actionButton("Add", systemImage: "text.badge.plus") {
|
||||
guard let video else { return }
|
||||
|
Reference in New Issue
Block a user