Fehlerkorrekturen
This commit is contained in:
1 parent
007aa8dd1a
commit
beb4ef5cb7
2 files changed
+3
-3
No files matched your search
@@ -103,10 +103,10 @@ Future<void> showTakePhotosPopup(BuildContext context, TaskInfo taskInfo, Functi
|
||||
'Übernehmen',
|
||||
buttonHeight: 50,
|
||||
() => {
|
||||
if (imageDataList.length == taskInfo.task.min! && imageDataList.length <= taskInfo.task.max!)
|
||||
if (imageDataList.length >= taskInfo.task.min! && imageDataList.length <= taskInfo.task.max!)
|
||||
{Navigator.of(context).pop(), onFinished(imageDataList)}
|
||||
else
|
||||
{showAlertDialog(context, 'Fehler', 'Sie müssen mindestens ${taskInfo.task.min} Foto(s) aufnehmen')}
|
||||
{showAlertDialog(context, 'Fehler', 'Es müssen mindestens ${taskInfo.task.min} Foto(s) aufgenommen werden')}
|
||||
})
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user