Przeglądaj źródła

Merge pull request #1918 from KKirsten/AsyncImageDownloadRequestModifierFix

Align KFOptionSetter with KingfisherParsedOptionsInfo
Wei Wang 3 lat temu
rodzic
commit
5957c8f09e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Sources/General/KFOptionsSetter.swift

+ 1 - 1
Sources/General/KFOptionsSetter.swift

@@ -367,7 +367,7 @@ extension KFOptionSetter {
     /// This is the last chance you can modify the image download request. You can modify the request for some
     /// This is the last chance you can modify the image download request. You can modify the request for some
     /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping.
     /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping.
     ///
     ///
-    public func requestModifier(_ modifier: ImageDownloadRequestModifier) -> Self {
+    public func requestModifier(_ modifier: AsyncImageDownloadRequestModifier) -> Self {
         options.requestModifier = modifier
         options.requestModifier = modifier
         return self
         return self
     }
     }