mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 22:13:41 +00:00
Fix browser controls play button disabled state
This commit is contained in:
parent
eb7cca1c56
commit
71f924dc2d
@ -99,7 +99,7 @@ struct BrowserPlayerControls<Content: View, Toolbar: View>: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.disabled(playerControls.isLoadingVideo)
|
||||
.disabled(playerControls.isLoadingVideo || model.currentItem.isNil)
|
||||
.font(.system(size: 30))
|
||||
.frame(minWidth: 30)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user