mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
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;
|
||||
textField.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