mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
Minor fix
This commit is contained in:
parent
dfbbc96c85
commit
e60349ded1
@ -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? {
|
||||
|
Loading…
Reference in New Issue
Block a user