mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 06:40:32 +05:30
Minor fix
This commit is contained in:
parent
f43d293f94
commit
c7266cfa10
@ -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? {
|
||||||
|
Loading…
Reference in New Issue
Block a user