diff --git a/Model/Applications/PipedAPI.swift b/Model/Applications/PipedAPI.swift index c5b92a63..e8f6f5e5 100644 --- a/Model/Applications/PipedAPI.swift +++ b/Model/Applications/PipedAPI.swift @@ -152,7 +152,11 @@ final class PipedAPI: Service, ObservableObject, VideosAPI { } var signedIn: Bool { - !account.anonymous && !(account.token?.isEmpty ?? true) + guard let account = account else { + return false + } + + return !account.anonymous && !(account.token?.isEmpty ?? true) } var subscriptions: Resource? {