mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fixed none text-decoration
This commit is contained in:
@@ -108,6 +108,7 @@ export module ios {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (view instanceof UIButton) {
|
if (view instanceof UIButton) {
|
||||||
|
(<UIButton>view).setAttributedTitleForState(NSMutableAttributedString.alloc().initWithString(source), UIControlState.UIControlStateNormal);
|
||||||
(<UIButton>view).setTitleForState(<string>source, UIControlState.UIControlStateNormal);
|
(<UIButton>view).setTitleForState(<string>source, UIControlState.UIControlStateNormal);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user