The test was redesigned, but the lines resetting the text properties were missing

This commit is contained in:
Panayot Cankov
2017-02-22 15:09:48 +02:00
parent 1c503ce659
commit 6bca3732e3

View File

@ -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";
}
}