File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ abstract class LabelBase extends View implements LabelViewDefinition {
217
217
218
218
export class Label extends LabelBase {
219
219
nativeViewProtected : com . nativescript . text . TextView ;
220
- mHandleFontSize = true ;
220
+ handleFontSize = true ;
221
221
mTappable = false ;
222
222
private mAutoFontSize = false ;
223
223
@@ -345,7 +345,9 @@ export class Label extends LabelBase {
345
345
if ( color ) {
346
346
this . nativeTextViewProtected . setTextColor ( color . android ) ;
347
347
} else {
348
- this . nativeTextViewProtected . setTextColor ( null ) ;
348
+ // what to call in this case ? transparent color?
349
+ // we cant call with null as we will get a null pointer exception
350
+ // this.nativeTextViewProtected.setTextColor(null);
349
351
}
350
352
}
351
353
[ fontSizeProperty . setNative ] ( value : number | { nativeSize : number } ) {
You can’t perform that action at this time.
0 commit comments