only reset IT source text if the user hasn't gone through any IT steps

pull/1476/head
ggurdin 1 year ago
parent 49588b91cf
commit f4c0637f83
No known key found for this signature in database
GPG Key ID: A01CB41737CBB478

@ -68,9 +68,10 @@ class ITController {
} }
void closeIT() { void closeIT() {
//if they close it before completing, just put their text back // if the user hasn't gone through any IT steps, reset the text
//PTODO - explore using last itStep if (completedITSteps.isEmpty && sourceText != null) {
choreographer.textController.text = sourceText ?? ""; choreographer.textController.text = sourceText!;
}
clear(); clear();
} }

Loading…
Cancel
Save