only reset IT source text if the user hasn't gone through any IT steps
This commit is contained in:
parent
49588b91cf
commit
f4c0637f83
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue