ソースを参照

Delete some useless code

Bei Li 5 年 前
コミット
980b55e4d8
1 ファイル変更0 行追加3 行削除
  1. 0 3
      Sources/Extensions/NSTextAttachment+Kingfisher.swift

+ 0 - 3
Sources/Extensions/NSTextAttachment+Kingfisher.swift

@@ -224,9 +224,6 @@ extension KingfisherWrapper where Base: NSTextAttachment {
                         self.base.image = value.image
                         self.base.image = value.image
                         #if canImport(UIKit)
                         #if canImport(UIKit)
                         attributedView.setNeedsDisplay()
                         attributedView.setNeedsDisplay()
-                        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
-                            
-                        }
                         #else
                         #else
                         attributedView.setNeedsDisplay(attributedView.bounds)
                         attributedView.setNeedsDisplay(attributedView.bounds)
                         #endif
                         #endif