Erweiterungen

This commit is contained in:
Sven committed 2024-03-06 11:44:23 +01:00
1 parent 8c906d6bc2
commit eb2ffab6cd
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import 'package:stadtbote/tools/mqtt_core.dart';
import 'package:stadtbote/tools/util.dart';
void showInfosPopup(BuildContext context, SessionStatus? status) async {
var text = "Versionsnummer: a208\n";
var text = "Versionsnummer: a209\n";
text += "Verbindungsstatus: ${MqttCore.instance.connectionState == ConnectionStateEnum.connected ? "Verbunden" : "NICHT verbunden"}\n";
text += "GPS-Status: ${MyApp.currentPosition != null ? MyApp.currentPosition!.timestamp.toString() : "Unbekannt"}\n";
text += "\n";
+2 -2
View File
@@ -72,9 +72,9 @@ showSignaturePopup(BuildContext context, TaskInfo taskInfo, Function(String?) on
),
),
getDefaultButton('Übernehmen', buttonHeight: 50, () => {
Navigator.of(context).pop(),
if (controller.points.length > 50) {
Navigator.of(context).pop(),
onFinished(convertPoints(controller.points))
} else {
showAlertDialog(context, "Fehler", "Die Unterschrift ist zu kurz.")