1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 05:40:32 +05:30

Minor fix

This commit is contained in:
Arkadiusz Fal 2022-04-04 00:18:49 +02:00
parent dfbbc96c85
commit e60349ded1

View File

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