fix: allow reselection of incorrect IGC choices after correct choice selected
This commit is contained in:
parent
c47d8898de
commit
f3b98aa35e
1 changed files with 0 additions and 9 deletions
|
|
@ -98,15 +98,6 @@ class SpanData {
|
|||
return -1;
|
||||
}
|
||||
|
||||
// if user ever selected the correct choice, automatically select it
|
||||
final selectedCorrectIndex = choices!.indexWhere((choice) {
|
||||
return choice.selected && choice.isBestCorrection;
|
||||
});
|
||||
|
||||
if (selectedCorrectIndex != -1) {
|
||||
return selectedCorrectIndex;
|
||||
}
|
||||
|
||||
SpanChoice? mostRecent;
|
||||
for (int i = 0; i < choices!.length; i++) {
|
||||
final choice = choices![i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue