8000 Merge pull request #1392 from NativeScript/button-ios · Techhacker/NativeScript@97738bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 97738bd

Browse files
author
Vladimir Enchev
committed
Merge pull request NativeScript#1392 from NativeScript/button-ios
fixed none text-decoration
2 parents 67204e5 + 2a8cc5c commit 97738bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/utils.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export module ios {
108108
}
109109
} else {
110110
if (view instanceof UIButton) {
111+
(<UIButton>view).setAttributedTitleForState(NSMutableAttributedString.alloc().initWithString(source), UIControlState.UIControlStateNormal);
111112
(<UIButton>view).setTitleForState(<string>source, UIControlState.UIControlStateNormal);
112113
}
113114
else {

0 commit comments

Comments
 (0)
0