Update to work with the enhanced FeedIconDownloader

This commit is contained in:
Maurice Parker 2019-08-26 19:48:12 -05:00
parent 17fef112d6
commit a1c74a03d1
1 changed files with 4 additions and 1 deletions

View File

@ -89,7 +89,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
imageDownloader = ImageDownloader(folder: String(imagesFolderPath))
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 {
self.unreadCount = AccountManager.shared.unreadCount