mirror of
https://github.com/yattee/yattee.git
synced 2025-01-10 03:20:33 +05:30
Fix browser controls play button disabled state
This commit is contained in:
parent
f4f94b6f40
commit
d0aa6303cf
@ -99,7 +99,7 @@ struct BrowserPlayerControls<Content: View, Toolbar: View>: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.disabled(playerControls.isLoadingVideo)
|
.disabled(playerControls.isLoadingVideo || model.currentItem.isNil)
|
||||||
.font(.system(size: 30))
|
.font(.system(size: 30))
|
||||||
.frame(minWidth: 30)
|
.frame(minWidth: 30)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user