Erweiterungen

This commit is contained in:
Sven committed 2024-02-08 13:51:52 +01:00
1 parent 43e146594e
commit 47f31b7a5a
7 files changed
+23 -8

No files matched your search

+2 -2
View File
@@ -14,11 +14,11 @@ class TourDetailsPage extends ContentViewWidget {
const TourDetailsPage({super.key, required this.job, required this.tour, this.readOnly = false});
final Job job;
final JobTour tour;
final bool readOnly;
@override
State<TourDetailsPage> createState() => _TourDetailsPageState();
@@ -142,7 +142,7 @@ class _TourDetailsPageState extends State<TourDetailsPage> {
const SizedBox(height: 10),
getDefaultButton('Weiter', () =>
{
MessageService().publish<ContentViewWidget>(Constants.messageTopicPushContentView, arguments: TaskListPage(tour: widget.tour, readOnly: widget.readOnly))
MessageService().publish<ContentViewWidget>(Constants.messageTopicPushContentView, arguments: TaskListPage(job: widget.job, tour: widget.tour, readOnly: widget.readOnly))
}),
],
),