mirror of
https://github.com/yattee/yattee.git
synced 2025-01-09 14:27:11 +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
|
return !(video?.isLocal ?? true) && accounts.signedIn && accounts.app.supportsSubscriptions
|
||||||
case .settings:
|
case .settings:
|
||||||
return video != nil
|
return video != nil
|
||||||
|
case .fullScreen:
|
||||||
|
return video != nil
|
||||||
|
case .pip:
|
||||||
|
return video != nil
|
||||||
case .advanceToNextItem:
|
case .advanceToNextItem:
|
||||||
return player.isAdvanceToNextItemAvailable
|
return player.isAdvanceToNextItemAvailable
|
||||||
|
case .restart:
|
||||||
|
return video != nil
|
||||||
|
case .musicMode:
|
||||||
|
return video != nil
|
||||||
default:
|
default:
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user