[Shared] Updates CocoaPods dependencies

This commit is contained in:
Riley Testut
2023-03-01 15:00:27 -06:00
committed by Magesh K
parent f24f721845
commit d00e6de8a2
11 changed files with 128 additions and 53 deletions

View File

@@ -118,10 +118,11 @@ final class AppViewController: UIViewController
{
imageView.isIndicatingActivity = true
Nuke.loadImage(with: self.app.iconURL, options: .shared, into: imageView, progress: nil) { [weak imageView] (response, error) in
if response?.image != nil
Nuke.loadImage(with: self.app.iconURL, options: .shared, into: imageView, progress: nil) { [weak imageView] (result) in
switch result
{
imageView?.isIndicatingActivity = false
case .success: imageView?.isIndicatingActivity = false
case .failure(let error): print("[ALTLog] Failed to load app icons.", error)
}
}
}