From 71f924dc2d093a03e40ffca91e09c3fc770a82a4 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 22 May 2022 12:32:38 +0200 Subject: [PATCH] Fix browser controls play button disabled state --- Shared/Views/BrowserPlayerControls.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Views/BrowserPlayerControls.swift b/Shared/Views/BrowserPlayerControls.swift index d46a5a8c..4f85afaa 100644 --- a/Shared/Views/BrowserPlayerControls.swift +++ b/Shared/Views/BrowserPlayerControls.swift @@ -99,7 +99,7 @@ struct BrowserPlayerControls: View { } } } - .disabled(playerControls.isLoadingVideo) + .disabled(playerControls.isLoadingVideo || model.currentItem.isNil) .font(.system(size: 30)) .frame(minWidth: 30)