This commit is contained in:
1 parent
56d69285d0
commit
8c906d6bc2
1 file changed
+5
-1
@@ -74,7 +74,11 @@ showSignaturePopup(BuildContext context, TaskInfo taskInfo, Function(String?) on
|
||||
getDefaultButton('Übernehmen', buttonHeight: 50, () => {
|
||||
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.")
|
||||
}
|
||||
})
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user