mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Minor fixes
This commit is contained in:
@@ -23,7 +23,6 @@ struct ControlsGradientView: View {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct ControlsGradientView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
ControlsGradientView()
|
||||
|
@@ -133,7 +133,7 @@ struct VideoActions: View {
|
||||
|
||||
case .close:
|
||||
actionButton("Close", systemImage: "xmark") {
|
||||
if openWatchNextOnClose {
|
||||
if player.presentingPlayer, openWatchNextOnClose {
|
||||
player.pause()
|
||||
WatchNextViewModel.shared.closed(player.currentItem)
|
||||
} else {
|
||||
|
@@ -479,6 +479,5 @@ struct VideoPlayerView_Previews: PreviewProvider {
|
||||
Color.red
|
||||
VideoPlayerView()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user