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

Minor fix

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

View File

@ -161,7 +161,11 @@ final class PipedAPI: Service, ObservableObject, VideosAPI {
} }
var signedIn: Bool { 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? { var subscriptions: Resource? {