From a28d54c76ecb8901d5a5954640be4ac98b57ed5b Mon Sep 17 00:00:00 2001 From: Sergio Estevao Date: Thu, 5 Dec 2019 10:59:44 +0000 Subject: [PATCH] Make sure if the textColor is changed the default text color is updated. --- react-native-aztec/ios/RNTAztecView/RCTAztecView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/react-native-aztec/ios/RNTAztecView/RCTAztecView.swift b/react-native-aztec/ios/RNTAztecView/RCTAztecView.swift index 22cdf62ac1..e82324c022 100644 --- a/react-native-aztec/ios/RNTAztecView/RCTAztecView.swift +++ b/react-native-aztec/ios/RNTAztecView/RCTAztecView.swift @@ -446,6 +446,7 @@ class RCTAztecView: Aztec.TextView { override var textColor: UIColor? { didSet { typingAttributes[NSAttributedString.Key.foregroundColor] = self.textColor + self.defaultTextColor = self.textColor } }