fixed none text-decoration

This commit is contained in:
Vladimir Enchev
2016-01-18 17:26:01 +02:00
parent 67204e5158
commit 2a8cc5c72c

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 {