From 02bc2aa0c70dba00a25484b7f3868ee113d9c4ab Mon Sep 17 00:00:00 2001 From: Radu Dan Date: Mon, 9 Dec 2024 13:53:16 +0200 Subject: [PATCH] Re-add navigation observer --- lib/app/app.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/app/app.dart b/lib/app/app.dart index 15a651ed..dc744d5f 100644 --- a/lib/app/app.dart +++ b/lib/app/app.dart @@ -104,7 +104,8 @@ class _AppContainerState extends State { // we use a custom key tied to the session to force the child // component to drop state whenever the session disconnects key: Key(state.sessionId)), - currentLocale: localeState.currentLocale))), + currentLocale: localeState.currentLocale, + navigatorObservers: [_AppNavigatorObserver(widget.logger)]))), Failure(value: final error) => _createInMaterialApp(ErrorScreen( message: error is InvalidSettingsVersion ? S.current.messageSettingsVersionNewerThanCurrent