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(
curve: Curves.ease,
index: ok,
duration: isSlide
? Duration.zero
: Duration(milliseconds: isSlide ? 2 : 150));
duration: Duration(milliseconds: isSlide ? 2 : 150));
}
} else {
if (ok != -1) {