Cleanup
This commit is contained in:
1 parent
7a681ddcc6
commit
0ac8ab8cf5
17 files changed
+34
-41
No files matched your search
@@ -77,7 +77,7 @@ class MainPage extends ContentViewWidget {
|
||||
rightButtonVisible: true,
|
||||
rightButtonImage: Util.fetchFutureIcon(const Icon(Icons.info_outline, size: 20.0, color: Colors.white)),
|
||||
rightButtonOnPressed: () async {
|
||||
showInfosPopup(context, await MyApp.isarInstance.sessionStatus.where().findFirst());
|
||||
showInfosPopup(await MyApp.isarInstance.sessionStatus.where().findFirst());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@ class _MessagesPageState extends State<MessagesPage> {
|
||||
|
||||
setState(() {}),
|
||||
|
||||
Navigator.of(context).pop()
|
||||
Navigator.of(MyApp.appNavigatorKey.currentContext!).pop()
|
||||
}),
|
||||
)
|
||||
])
|
||||
|
||||
@@ -117,7 +117,7 @@ class _TourDetailsPageState extends State<TourDetailsPage> {
|
||||
if (widget.tour.pos != null) {
|
||||
showMapPopup(context, widget.tour, widget.job.tours)
|
||||
} else {
|
||||
showAlertDialog(context, 'Information', 'Es liegt keine Position für diese Station vor')
|
||||
showAlertDialog('Information', 'Es liegt keine Position für diese Station vor')
|
||||
}
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user