mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
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:
@ -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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user