浏览代码

[1.5.4] Fix accessibility level

/main
iizzaya 5 年前
当前提交
e5c56129
共有 3 个文件被更改,包括 2 次插入4 次删除
  1. 2
      Runtime/cupertino/route.cs
  2. 2
      Runtime/widgets/pages.cs
  3. 2
      Runtime/widgets/routes.cs

2
Runtime/cupertino/route.cs


return false;
}
if (route._hasScopedWillPopCallback) {
if (route.hasScopedWillPopCallback) {
return false;
}

2
Runtime/widgets/pages.cs


public override bool canTransitionFrom(TransitionRoute previousRoute) {
return previousRoute is PageRoute;
}
public bool _hasScopedWillPopCallback => this.hasScopedWillPopCallback;
public override AnimationController createAnimationController() {
var controller = base.createAnimationController();

2
Runtime/widgets/routes.cs


this._willPopCallbacks.Remove(callback);
}
protected bool hasScopedWillPopCallback {
protected internal bool hasScopedWillPopCallback {
get { return this._willPopCallbacks.isNotEmpty(); }
}

正在加载...
取消
保存