mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix crash
This commit is contained in:
parent
f871c7aaf5
commit
8ffdd4d51f
@ -68,13 +68,12 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel {
|
||||
return
|
||||
}
|
||||
|
||||
let request = force ? resource?.load() : resource?.loadIfNeeded()
|
||||
guard request != nil else { return }
|
||||
|
||||
loadCachedChannels(account)
|
||||
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
guard let self else { return }
|
||||
let request = force ? resource?.load() : resource?.loadIfNeeded()
|
||||
guard request != nil else { return }
|
||||
|
||||
loadCachedChannels(account)
|
||||
|
||||
self.isLoading = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user