minor fix
This commit is contained in:
parent
220e61784b
commit
b82f7c2163
2 changed files with 5 additions and 4 deletions
|
@ -33,6 +33,7 @@ void mainCommon(AppFlavor flavor) {
|
|||
// - in profile/release mode: plain grey background
|
||||
// This can be modified via `ErrorWidget.builder`
|
||||
// ErrorWidget.builder = (details) => ErrorWidget(details.exception);
|
||||
// cf https://docs.flutter.dev/testing/errors
|
||||
|
||||
runApp(AvesApp(flavor: flavor));
|
||||
}
|
||||
|
|
|
@ -380,10 +380,10 @@ class _AvesAppState extends State<AvesApp> with WidgetsBindingObserver {
|
|||
'locales': WidgetsBinding.instance.window.locales.join(', '),
|
||||
'time_zone': '${now.timeZoneName} (${now.timeZoneOffset})',
|
||||
});
|
||||
_navigatorObservers = [
|
||||
AvesApp.pageRouteObserver,
|
||||
ReportingRouteTracker(),
|
||||
];
|
||||
setState(() => _navigatorObservers = [
|
||||
AvesApp.pageRouteObserver,
|
||||
ReportingRouteTracker(),
|
||||
]);
|
||||
}
|
||||
|
||||
void _onNewIntent(Map? intentData) {
|
||||
|
|
Loading…
Reference in a new issue