@@ -114,6 +114,7 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
114
114
public _isEditing : boolean ;
115
115
116
116
createNativeView ( ) {
117
+ debugger ;
117
118
const textView = NoScrollAnimationUITextView . new ( ) ;
118
119
if ( ! textView . font ) {
119
120
textView . font = UIFont . systemFontOfSize ( 12 ) ;
@@ -163,6 +164,7 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
163
164
}
164
165
165
166
private _refreshColor ( ) {
167
+ debugger ;
166
168
if ( this . _isShowingHint ) {
167
169
const placeholderColor = this . style . placeholderColor ;
168
170
const color = this . style . color ;
@@ -173,7 +175,7 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
173
175
// Use semi-transparent version of color for back-compatibility
174
176
this . nativeTextViewProtected . textColor = color . ios . colorWithAlphaComponent ( 0.22 ) ;
175
177
} else {
176
- this . nativeTextViewProtected . textColor = UIColor . blackColor . colorWithAlphaComponent ( 0.22 ) ;
178
+ this . nativeTextViewProtected . textColor = UIColor . labelColor ;
177
179
}
178
180
} else {
179
181
const color = this . style . color ;
@@ -182,8 +184,8 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
182
184
this . nativeTextViewProtected . textColor = color . ios ;
183
185
this . nativeTextViewProtected . tintColor = color . ios ;
184
186
} else {
185
- this . nativeTextViewProtected . textColor = null ;
186
- this . nativeTextViewProtected . tintColor = null ;
187
+ this . nativeTextViewProtected . textColor = UIColor . labelColor ;
188
+ this . nativeTextViewProtected . tintColor = UIColor . tintColor ;
187
189
}
188
190
}
189
191
}
@@ -329,4 +331,4 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
329
331
}
330
332
}
331
333
332
- TextView . prototype . recycleNativeView = "auto" ;
334
+ TextView . prototype . recycleNativeView = "auto" ;
0 commit comments