This commit is contained in:
1 parent
56d69285d0
commit
8c906d6bc2
1 file changed
+4
@@ -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(),
|
||||||
|
|
||||||
|
if (controller.points.length > 50) {
|
||||||
onFinished(convertPoints(controller.points))
|
onFinished(convertPoints(controller.points))
|
||||||
|
} else {
|
||||||
|
showAlertDialog(context, "Fehler", "Die Unterschrift ist zu kurz.")
|
||||||
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user