Erweiterungen Ranking

This commit is contained in:
Sven committed 2024-02-27 14:27:10 +01:00
1 parent fca152aa1e
commit b18a0c4526
4 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class _AcceptedJobsPageState extends State<AcceptedJobsPage> {
children: <Widget>[
Text(
DateFormat('dd.MM.yyyy HH:mm').format(DateTime.parse(job.ordertime)).toString(),
style: TextStyle(backgroundColor: isJobInFuture(job) ? Colors.yellow : Colors.white),
style: TextStyle(backgroundColor: isJobInFuture(job) ? Colors.yellow : Colors.transparent),
textAlign: TextAlign.left,
),
Text(
+1 -1
View File
@@ -80,7 +80,7 @@ Future<void> showAcceptJobsPopup(BuildContext context, List<Job> jobs) async {
child: Text(
DateFormat('dd.MM.yyyy HH:mm').format(DateTime.parse(job.ordertime)).toString(),
textAlign: TextAlign.left,
style: TextStyle(backgroundColor: isJobInFuture(job) ? Colors.yellow : Colors.white),
style: TextStyle(backgroundColor: isJobInFuture(job) ? Colors.yellow : Colors.transparent),
),
),
SizedBox(width: double.infinity, child: Text('Auftragsnummer: ${job.id}', textAlign: TextAlign.left)),
+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: a203\n";
var text = "Versionsnummer: a205\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 -3
View File
@@ -1,4 +1,3 @@
import 'dart:developer';
import 'dart:io';
import 'package:audioplayers/audioplayers.dart';
@@ -74,11 +73,11 @@ class Util {
}
static logInfo(String message) {
log(message);
debugPrint(message);
}
static logException(String message) {
log('Exception: $message');
debugPrint('Exception: $message');
}
static int fastHash(String string) {