Explorar o código

Merge pull request #2218 from eltociear/patch-1

Update KFOptionsSetter.swift
Wei Wang hai 1 ano
pai
achega
dfd8ad6fa8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/General/KFOptionsSetter.swift

+ 2 - 2
Sources/General/KFOptionsSetter.swift

@@ -60,8 +60,8 @@ extension KFOptionSetter {
         return self
         return self
     }
     }
 
 
-    /// Sets the the done block to current builder.
-    /// - Parameter block: Called when the image task successfully completes and the the image set is done. If `block`
+    /// Sets the done block to current builder.
+    /// - Parameter block: Called when the image task successfully completes and the image set is done. If `block`
     ///                    is `nil`, the callback will be reset.
     ///                    is `nil`, the callback will be reset.
     /// - Returns: A `KF.Builder` with changes applied.
     /// - Returns: A `KF.Builder` with changes applied.
     public func onSuccess(_ block: ((RetrieveImageResult) -> Void)?) -> Self {
     public func onSuccess(_ block: ((RetrieveImageResult) -> Void)?) -> Self {