chore: trim currentText and originalInput before checking if they're different when settings IGC data (#3864)
This commit is contained in:
parent
8ea131bf5e
commit
296429928f
1 changed files with 2 additions and 1 deletions
|
|
@ -109,7 +109,8 @@ class IgcController {
|
|||
.timeout((const Duration(seconds: 10)));
|
||||
|
||||
// this will happen when the user changes the input while igc is fetching results
|
||||
if (igcTextDataResponse.originalInput != choreographer.currentText) {
|
||||
if (igcTextDataResponse.originalInput.trim() !=
|
||||
choreographer.currentText.trim()) {
|
||||
return;
|
||||
}
|
||||
// get ignored matches from the original igcTextData
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue