From 156e14c38e0d435926afdef4d3a77c022c16c532 Mon Sep 17 00:00:00 2001 From: SliverAppBar Date: Sun, 15 Oct 2023 19:44:39 +0900 Subject: [PATCH] chore: resolve deprecation warning issue --- lib/pages/viewer/others/preload_page_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/viewer/others/preload_page_view.dart b/lib/pages/viewer/others/preload_page_view.dart index fa2fe353b..6254c4812 100644 --- a/lib/pages/viewer/others/preload_page_view.dart +++ b/lib/pages/viewer/others/preload_page_view.dart @@ -1014,7 +1014,7 @@ class PageScrollPhysics extends ScrollPhysics { (velocity >= 0.0 && position.pixels >= position.maxScrollExtent)) { return super.createBallisticSimulation(position, velocity); } - final Tolerance tolerance = this.tolerance; + final Tolerance tolerance = toleranceFor(position); final double target = _getTargetPixels(position as ScrollPosition, tolerance, velocity); if (target != position.pixels) {