Erweiterungen

This commit is contained in:
Sven committed 2024-02-08 09:59:31 +01:00
1 parent 3c2e9ceecb
commit 85d6d49258
16 files changed
+98 -77

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ class AcceptedJobsPage extends ContentViewWidget {
'Angenommene Aufträge',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: false,
+2 -3
View File
@@ -3,7 +3,6 @@ import 'package:isar/isar.dart';
import 'package:stadtbote/content_views/tour_list_page.dart';
import 'package:stadtbote/content_views/utils/content_view_widget.dart';
import 'package:stadtbote/content_views/utils/header_info.dart';
import 'package:intl/intl.dart';
import 'package:stadtbote/tools/message_service.dart';
import '../main.dart';
@@ -24,12 +23,12 @@ class ApproachAreaPage extends ContentViewWidget {
'Angenommene Aufträge',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: true,
rightButtonVisible: true,
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.help_outline, size: 20.0, color: Colors.white)),
rightButtonOnPressed: () async {
await Util.startBrowser('https://app.assecutor.de/help/sb/app/context/001/index.html');
});
+1 -1
View File
@@ -27,7 +27,7 @@ class AssignedJobsPage extends ContentViewWidget {
'Zugewiesene Aufträge',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: false,
+1 -1
View File
@@ -24,7 +24,7 @@ class FinishedJobsPage extends ContentViewWidget {
'Erledigte Aufträge',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: false,
-16
View File
@@ -235,22 +235,6 @@ class _MainPageState extends State<MainPage> {
);
}
/*_test() async {
var json = await rootBundle.loadString('assets/job.json');
var jsonMap = jsonDecode(json);
var payload = jsonMap["payload"];
var jobsPayload = JobsPayload.fromJson(payload);
if (jobsPayload.jobs != null) {
MyApp.isarInstance.writeTxnSync(() {
for (var job in jobsPayload.jobs as List<Job>) {
MyApp.isarInstance.jobs.putSync(job);
}
});
}
}*/
_initMessages() {
MessageService().subscribe<StatusInfoUpdate>(Constants.messageTopicStatusInfoUpdate, this, (statusInfoUpdateMessage) {
widget.sidValueNotifier.value = statusInfoUpdateMessage.status.sid;
+2 -2
View File
@@ -26,12 +26,12 @@ class MessagesPage extends ContentViewWidget {
'Nachrichten',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: true,
rightButtonVisible: true,
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.help_outline, size: 20.0, color: Colors.white)),
rightButtonOnPressed: () async {
await Util.startBrowser('https://app.assecutor.de/help/sb/app/context/003/index.html');
});
+2 -2
View File
@@ -43,12 +43,12 @@ class TaskListPage extends ContentViewWidget {
'Liste der Aufgaben',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: true,
rightButtonVisible: true,
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.help_outline, size: 20.0, color: Colors.white)),
rightButtonOnPressed: () async {
await Util.startBrowser('https://app.assecutor.de/help/sb/app/context/002/index.html');
});
+1 -1
View File
@@ -29,7 +29,7 @@ class TourDetailsPage extends ContentViewWidget {
'Details der Station',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: false,
+2 -2
View File
@@ -27,12 +27,12 @@ class TourListPage extends ContentViewWidget {
'Liste der Stationen',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontSize: 20.0,
),
),
rightButtonEnabled: true,
rightButtonVisible: true,
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.help_outline, size: 20.0, color: Colors.white)),
rightButtonOnPressed: () async {
await Util.startBrowser('https://app.assecutor.de/help/sb/app/context/004/index.html');
});