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() {
//if they close it before completing, just put their text back
//PTODO - explore using last itStep
choreographer.textController.text = sourceText ?? "";
// if the user hasn't gone through any IT steps, reset the text
if (completedITSteps.isEmpty && sourceText != null) {
choreographer.textController.text = sourceText!;
}
clear();
}

Loading…
Cancel
Save