From 296429928f73b078bd77fdfb7d0ed047e8f5dca1 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:39:42 -0400 Subject: [PATCH] chore: trim currentText and originalInput before checking if they're different when settings IGC data (#3864) --- lib/pangea/choreographer/controllers/igc_controller.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pangea/choreographer/controllers/igc_controller.dart b/lib/pangea/choreographer/controllers/igc_controller.dart index 11759039a..abefff19b 100644 --- a/lib/pangea/choreographer/controllers/igc_controller.dart +++ b/lib/pangea/choreographer/controllers/igc_controller.dart @@ -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