Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 5b40d83

Browse files
committed
[1.5.4] Fix accessibility level
1 parent ef1c9e4 commit 5b40d83

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Runtime/cupertino/route.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ static bool _isPopGestureEnabled(PageRoute route) {
328328
return false;
329329
}
330330

331-
if (route._hasScopedWillPopCallback) {
331+
if (route.hasScopedWillPopCallback) {
332332
return false;
333333
}
334334

Runtime/widgets/pages.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public override bool canTransitionTo(TransitionRoute nextRoute) {
2626
public override bool canTransitionFrom(TransitionRoute previousRoute) {
2727
return previousRoute is PageRoute;
2828
}
29-
30-
public bool _hasScopedWillPopCallback => this.hasScopedWillPopCallback;
3129

3230
public override AnimationController createAnimationController() {
3331
var controller = base.createAnimationController();

Runtime/widgets/routes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ public void removeScopedWillPopCallback(WillPopCallback callback) {
605605
this._willPopCallbacks.Remove(callback);
606606
}
607607

608-
protected bool hasScopedWillPopCallback {
608+
protected internal bool hasScopedWillPopCallback {
609609
get { return this._willPopCallbacks.isNotEmpty(); }
610610
}
611611

0 commit comments

Comments
 (0)