mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix actions actionable
This commit is contained in:
parent
77fde219e0
commit
8271feb77a
@ -96,8 +96,16 @@ struct VideoActions: View {
|
||||
return !(video?.isLocal ?? true) && accounts.signedIn && accounts.app.supportsSubscriptions
|
||||
case .settings:
|
||||
return video != nil
|
||||
case .fullScreen:
|
||||
return video != nil
|
||||
case .pip:
|
||||
return video != nil
|
||||
case .advanceToNextItem:
|
||||
return player.isAdvanceToNextItemAvailable
|
||||
case .restart:
|
||||
return video != nil
|
||||
case .musicMode:
|
||||
return video != nil
|
||||
default:
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user