Преглед на файлове

Merge pull request #1918 from KKirsten/AsyncImageDownloadRequestModifierFix

Align KFOptionSetter with KingfisherParsedOptionsInfo
Wei Wang преди 3 години
родител
ревизия
5957c8f09e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
     /// 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
         return self
     }