Add clear history button to home

This commit is contained in:
Arkadiusz Fal
2022-11-15 12:22:27 +01:00
parent 8727fb1e30
commit 78ff495927
5 changed files with 43 additions and 16 deletions

View File

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