Commit c1e77230 authored by justin's avatar justin

Navgator 2 super.pop() return type is void

parent 96af6e6e
...@@ -199,7 +199,7 @@ class BoostContainerState extends NavigatorState { ...@@ -199,7 +199,7 @@ class BoostContainerState extends NavigatorState {
} }
if (canPop()) { if (canPop()) {
return super.pop<T>(result); super.pop<T>(result);
} else { } else {
if (T is Map<String, dynamic>) { if (T is Map<String, dynamic>) {
FlutterBoost.singleton FlutterBoost.singleton
...@@ -208,7 +208,7 @@ class BoostContainerState extends NavigatorState { ...@@ -208,7 +208,7 @@ class BoostContainerState extends NavigatorState {
FlutterBoost.singleton.close(uniqueId); FlutterBoost.singleton.close(uniqueId);
} }
} }
return false; return true;
} }
@override @override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment