Skip to content

Commit

Permalink
Minor cleanup of modular_base.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
maguro committed Sep 20, 2020
1 parent 055b88d commit 7a894fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flutter_modular/lib/src/modular_base.dart
Expand Up @@ -38,7 +38,7 @@ class Modular {
static ModularArguments get args => _args?.copy();
static IModularNavigator navigatorDelegate;
static List<String> currentModule = <String>[];
static Map<String, GlobalKey<NavigatorState>> _navigators =
static final Map<String, GlobalKey<NavigatorState>> _navigators =
<String, GlobalKey<NavigatorState>>{};

/// Return RouteLink of the current module
Expand Down Expand Up @@ -299,8 +299,6 @@ class Modular {
paramPos++;
}

// print('Result processed $path as $routeNamed');

if (routeNamed != path) {
router.params = null;
return false;
Expand Down

0 comments on commit 7a894fe

Please sign in to comment.