Fix browser controls play button disabled state

This commit is contained in:
Arkadiusz Fal 2022-05-22 12:32:38 +02:00
parent eb7cca1c56
commit 71f924dc2d

View File

@ -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)