Merge pull request #3687 from NativeScript/fix-css-decoration-tests

The test was redesigned, but the lines resetting the text properties were missing
This commit is contained in:
Panayot Cankov
2017-02-22 15:16:11 +02:00
committed by GitHub

View File

@ -22,4 +22,10 @@ export function butonTap(args: EventData) {
btn.textDecoration = newValue; btn.textDecoration = newValue;
textField.textDecoration = newValue; textField.textDecoration = newValue;
textView.textDecoration = newValue; textView.textDecoration = newValue;
if(lbl.text === "Change text") {
lbl.text = btn.text = textField.text = textView.text = "Text changed";
} else {
lbl.text = btn.text = textField.text = textView.text = "Change text";
}
} }