You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!context.mounted) return; // TODO(linter): this is impossible as there's no actual async gap, but the use_build_context_synchronously lint doesn't see that
533
-
534
-
final route =routeForNotification(context: context, url: url);
535
-
if (route ==null) return; // TODO(log)
536
-
537
-
// TODO(nav): Better interact with existing nav stack on notif open
if (!context.mounted) return; // TODO(linter): this is impossible as there's no actual async gap, but the use_build_context_synchronously lint doesn't see that
70
+
71
+
final route =routeForNotification(context: context, url: url);
72
+
if (route ==null) return; // TODO(log)
73
+
74
+
// TODO(nav): Better interact with existing nav stack on notif open
75
+
unawaited(navigator.push(route));
76
+
}
77
+
}
3
78
4
79
/// The information contained in 'zulip://notification/…' internal
5
80
/// Android intent data URL, used for notification-open flow.
0 commit comments