This commit is contained in:
Sven committed 2024-03-05 18:42:10 +01:00
1 parent 56d69285d0
commit 8c906d6bc2
1 file changed
+5 -1
+5 -1
View File
@@ -74,7 +74,11 @@ showSignaturePopup(BuildContext context, TaskInfo taskInfo, Function(String?) on
getDefaultButton('Übernehmen', buttonHeight: 50, () => { getDefaultButton('Übernehmen', buttonHeight: 50, () => {
Navigator.of(context).pop(), Navigator.of(context).pop(),
onFinished(convertPoints(controller.points)) if (controller.points.length > 50) {
onFinished(convertPoints(controller.points))
} else {
showAlertDialog(context, "Fehler", "Die Unterschrift ist zu kurz.")
}
}) })
], ],
), ),