Update to work with the enhanced FeedIconDownloader
This commit is contained in:
parent
17fef112d6
commit
a1c74a03d1
@ -89,7 +89,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
|
|||||||
imageDownloader = ImageDownloader(folder: String(imagesFolderPath))
|
imageDownloader = ImageDownloader(folder: String(imagesFolderPath))
|
||||||
|
|
||||||
authorAvatarDownloader = AuthorAvatarDownloader(imageDownloader: imageDownloader)
|
authorAvatarDownloader = AuthorAvatarDownloader(imageDownloader: imageDownloader)
|
||||||
feedIconDownloader = FeedIconDownloader(imageDownloader: imageDownloader)
|
|
||||||
|
let tempFolder = tempDir.absoluteString
|
||||||
|
let tempFolderPath = tempFolder.suffix(from: tempFolder.index(tempFolder.startIndex, offsetBy: 7))
|
||||||
|
feedIconDownloader = FeedIconDownloader(imageDownloader: imageDownloader, folder: String(tempFolderPath))
|
||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.unreadCount = AccountManager.shared.unreadCount
|
self.unreadCount = AccountManager.shared.unreadCount
|
||||||
|
Loading…
x
Reference in New Issue
Block a user