This commit is contained in:
kodjodevf 2023-04-10 18:19:34 +01:00
parent b4265447c0
commit 91a68c84d3

View file

@ -177,9 +177,7 @@ class _MangaChapterPageGalleryState
_itemScrollController.scrollTo( _itemScrollController.scrollTo(
curve: Curves.ease, curve: Curves.ease,
index: ok, index: ok,
duration: isSlide duration: Duration(milliseconds: isSlide ? 2 : 150));
? Duration.zero
: Duration(milliseconds: isSlide ? 2 : 150));
} }
} else { } else {
if (ok != -1) { if (ok != -1) {