This repository was archived by the owner on Apr 29, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ static bool _isPopGestureEnabled(PageRoute route) {
328
328
return false ;
329
329
}
330
330
331
- if ( route . _hasScopedWillPopCallback ) {
331
+ if ( route . hasScopedWillPopCallback ) {
332
332
return false ;
333
333
}
334
334
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ public override bool canTransitionTo(TransitionRoute nextRoute) {
26
26
public override bool canTransitionFrom ( TransitionRoute previousRoute ) {
27
27
return previousRoute is PageRoute ;
28
28
}
29
-
30
- public bool _hasScopedWillPopCallback => this . hasScopedWillPopCallback ;
31
29
32
30
public override AnimationController createAnimationController ( ) {
33
31
var controller = base . createAnimationController ( ) ;
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ public void removeScopedWillPopCallback(WillPopCallback callback) {
605
605
this . _willPopCallbacks . Remove ( callback ) ;
606
606
}
607
607
608
- protected bool hasScopedWillPopCallback {
608
+ protected internal bool hasScopedWillPopCallback {
609
609
get { return this . _willPopCallbacks . isNotEmpty ( ) ; }
610
610
}
611
611
You can’t perform that action at this time.
0 commit comments