Fix: Text color of the Button not applied, when text-transform has been set.

Resolves #2601
This commit is contained in:
Rossen Hristov
2016-08-22 15:43:45 +03:00
parent 865090af6e
commit 996858825c
6 changed files with 29 additions and 7 deletions

View File

@ -310,7 +310,6 @@ export class ButtonStyler implements style.Styler {
button.ios.setAttributedTitleForState(result, UIControlState.UIControlStateNormal);
}
else {
button.ios.setAttributedTitleForState(NSMutableAttributedString.alloc().initWithString(source), UIControlState.UIControlStateNormal);
button.ios.setTitleForState(source, UIControlState.UIControlStateNormal);
}
}