Merge pull request #1392 from NativeScript/button-ios

fixed none text-decoration
This commit is contained in:
Vladimir Enchev
2016-01-19 10:35:44 +02:00

View File

@@ -108,6 +108,7 @@ export module ios {
}
} else {
if (view instanceof UIButton) {
(<UIButton>view).setAttributedTitleForState(NSMutableAttributedString.alloc().initWithString(source), UIControlState.UIControlStateNormal);
(<UIButton>view).setTitleForState(<string>source, UIControlState.UIControlStateNormal);
}
else {