Merge pull request #891 from pangeachat/dont-allow-wrong-choice-in-it
don't allow user to chose the incorrect choices in IT
This commit is contained in:
commit
583e765831
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ class ITChoices extends StatelessWidget {
|
|||
void selectContinuance(int index, BuildContext context) {
|
||||
final Continuance continuance =
|
||||
controller.currentITStep!.continuances[index];
|
||||
if (continuance.level == 1 || continuance.wasClicked) {
|
||||
if (continuance.level == 1) {
|
||||
Future.delayed(
|
||||
const Duration(milliseconds: 500),
|
||||
() => controller.selectTranslation(index),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue