Fix method and property access

This commit is contained in:
Arkadiusz Fal 2023-06-09 18:03:42 +02:00
parent a66e59a282
commit 16b25df3bc

View File

@ -70,10 +70,10 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel {
DispatchQueue.main.async { [weak self] in
guard let self else { return }
let request = force ? resource?.load() : resource?.loadIfNeeded()
let request = force ? self.resource?.load() : self.resource?.loadIfNeeded()
guard request != nil else { return }
loadCachedChannels(account)
self.loadCachedChannels(account)
self.isLoading = true