mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Add clear history button to home
This commit is contained in:
@@ -29,9 +29,12 @@ struct PlayerQueueRow: View {
|
||||
|
||||
var body: some View {
|
||||
Button {
|
||||
guard let video = item.video else {
|
||||
guard let video = item.video else { return }
|
||||
guard video != player.currentVideo else {
|
||||
player.show()
|
||||
return
|
||||
}
|
||||
|
||||
#if os(iOS)
|
||||
guard !video.localStreamIsDirectory else {
|
||||
if let url = video.localStream?.localURL {
|
||||
|
Reference in New Issue
Block a user