From 7afb4df468f892404d77dc1bbc5fc1ec8a7bc8cb Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Fri, 3 May 2024 19:54:58 +0200 Subject: [PATCH] fix lints --- app_navigator/lib/src/content_navigator.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app_navigator/lib/src/content_navigator.dart b/app_navigator/lib/src/content_navigator.dart index 8ff7a22..3f761d4 100644 --- a/app_navigator/lib/src/content_navigator.dart +++ b/app_navigator/lib/src/content_navigator.dart @@ -211,7 +211,7 @@ class ContentNavigatorBloc extends BaseBloc { /// Pop until a matching path or push it void popUntilPathOrPush(BuildContext context, ContentPath path) { if (_routeAwareManager != null) { - _routeAwareManager!.popLock.synchronized(() { + _routeAwareManager.popLock.synchronized(() { _popUntilPathOrPush(context, path); /// Late cleanup @@ -227,7 +227,7 @@ class ContentNavigatorBloc extends BaseBloc { /// Returns true if found void transientPopUntilPath(BuildContext context, ContentPath path) { if (_routeAwareManager != null) { - _routeAwareManager!.popLock.synchronized(() { + _routeAwareManager.popLock.synchronized(() { _popUntilPath(context, path, handleRoot: true); /// Late cleanup @@ -243,7 +243,7 @@ class ContentNavigatorBloc extends BaseBloc { /// Pop until a matching path or push it void transientPop(BuildContext context, [Object? result]) { if (_routeAwareManager != null) { - _routeAwareManager!.popLock.synchronized(() { + _routeAwareManager.popLock.synchronized(() { routeAwareManager.popTransient = true; _transientPop(context, result);