Upgrade Kingfisher to fix a bug that prevented GIFs from being tapped. (#3326)

* Upgrade Kingfisher to fix a bug the prevented GIFs from being tapped.

https://github.com/onevcat/Kingfisher/issues/2295

* Fix tests.
This commit is contained in:
Doug
2024-09-25 13:10:02 +01:00
committed by GitHub
parent 864bd23d35
commit af8c16150b
5 changed files with 9 additions and 18 deletions
@@ -5,7 +5,7 @@
// Please see LICENSE in the repository root for full details.
//
@testable import ElementX
import Kingfisher
@testable import Kingfisher
import UIKit
class MockImageCache: ImageCache {
@@ -35,5 +35,6 @@ class MockImageCache: ImageCache {
callbackQueue: CallbackQueue = .untouch,
completionHandler: ((CacheStoreResult) -> Void)? = nil) {
storedImages[key] = image
completionHandler?(.init(memoryCacheResult: .success(()), diskCacheResult: .success(())))
}
}