Skip to content

Commit b66a4c4

Browse files
authored
Merge pull request #433 from Navipro70/fix/ios-default-placeholder-background
fix(iOS): clear default NukeUI placeholder background
2 parents 40aad31 + 6aaa728 commit b66a4c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ios/TurboImageView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ final class TurboImageView : UIView {
166166
override init(frame: CGRect) {
167167
super.init(frame: frame)
168168
addSubview(lazyImageView)
169+
// Clear the default NukeUI placeholder (has secondarySystemBackground color)
170+
lazyImageView.placeholderView = nil
169171
layer.masksToBounds = true
170172
lazyImageView.translatesAutoresizingMaskIntoConstraints = false
171173
NSLayoutConstraint.activate([
@@ -466,4 +468,3 @@ fileprivate extension TurboImageView {
466468
#endif
467469
}
468470
}
469-

0 commit comments

Comments
 (0)