From ee9e8bc0641b83a2e179d9b9459c32c70dfb179b Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 16 Dec 2022 21:01:01 +0100 Subject: [PATCH] Fix possible crash --- Model/Watch.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Watch.swift b/Model/Watch.swift index 75eefcc8..27ca8edc 100644 --- a/Model/Watch.swift +++ b/Model/Watch.swift @@ -100,6 +100,6 @@ extension Watch { } } - return Video(app: app ?? AccountsModel.shared.current.app ?? .local, instanceURL: instanceURL, videoID: videoID) + return Video(app: app ?? AccountsModel.shared.current?.app ?? .local, instanceURL: instanceURL, videoID: videoID) } }