Skip to content

Commit

Permalink
Merge pull request #1653 from wordpress-mobile/issue/fix_setting_text…
Browse files Browse the repository at this point in the history
…_color

Make sure if the textColor is changed the default text color is updated.
  • Loading branch information
SergioEstevao authored Dec 5, 2019
2 parents e6ac571 + a28d54c commit 8e9a59f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ class RCTAztecView: Aztec.TextView {
override var textColor: UIColor? {
didSet {
typingAttributes[NSAttributedString.Key.foregroundColor] = self.textColor
self.defaultTextColor = self.textColor
}
}

Expand Down

0 comments on commit 8e9a59f

Please sign in to comment.