Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed May 3, 2024
1 parent f370569 commit 7afb4df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app_navigator/lib/src/content_navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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);

Expand Down

0 comments on commit 7afb4df

Please sign in to comment.