Merge pull request #4774 from pangeachat/4773-igc-with-feedback-on-correct-answer-only
fix: allow reselection of incorrect IGC choices after correct choice …
This commit is contained in:
commit
6795730b97
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