Skip to content

Commit 9c3ccff

Browse files
committed
fixbug some warnings
1 parent 8550c13 commit 9c3ccff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flutter/lib/src/navigation/sentry_navigator_observer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SentryNavigatorObserver extends RouteObserver<PageRoute<dynamic>> {
4545
_addBreadcrumb(
4646
type: 'didPush',
4747
from: previousRoute?.settings,
48-
to: route?.settings,
48+
to: route.settings,
4949
);
5050
}
5151

@@ -66,7 +66,7 @@ class SentryNavigatorObserver extends RouteObserver<PageRoute<dynamic>> {
6666

6767
_addBreadcrumb(
6868
type: 'didPop',
69-
from: route?.settings,
69+
from: route.settings,
7070
to: previousRoute?.settings,
7171
);
7272
}

0 commit comments

Comments
 (0)