diff --git a/tns-core-modules/ui/text-base/text-base.ios.ts b/tns-core-modules/ui/text-base/text-base.ios.ts index fbba9e48a..addb3790e 100644 --- a/tns-core-modules/ui/text-base/text-base.ios.ts +++ b/tns-core-modules/ui/text-base/text-base.ios.ts @@ -70,9 +70,7 @@ export class TextBase extends TextBaseCommon { console.log("Setting native color: " + value); let nativeView = this.nativeView; if (nativeView instanceof UIButton) { - if (value instanceof UIColor) { - nativeView.setTitleColorForState(value.ios, UIControlState.Normal); - } + nativeView.setTitleColorForState(value.ios, UIControlState.Normal); } else { nativeView.textColor = value.ios; }