mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
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:
@@ -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(())))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user