diff --git a/Model/Applications/PipedAPI.swift b/Model/Applications/PipedAPI.swift index 51310c88..f08475ed 100644 --- a/Model/Applications/PipedAPI.swift +++ b/Model/Applications/PipedAPI.swift @@ -161,7 +161,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? {