Skip to content

Commit d70bf8f

Browse files
committed
[RSKPlaceholderTextView] [attributedPlaceholder] [didSet] Compare foregroundColor to placeholderColor.
1 parent 0ce8b6d commit d70bf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RSKPlaceholderTextView/RSKPlaceholderTextView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ import UIKit
7777
self.typingAttributes[.font] = font
7878
}
7979
if let foregroundColor = attributes[.foregroundColor] as? UIColor,
80-
self.placeholder != foregroundColor {
80+
self.placeholderColor != foregroundColor {
8181

8282
self.placeholderColor = foregroundColor
8383
}

0 commit comments

Comments
 (0)