Skip to content

Commit 1f31aa4

Browse files
committed
fix
1 parent ba59885 commit 1f31aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/introduction_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ class IntroductionScreenState extends State<IntroductionScreen> {
438438
if (_durationInt != null) {
439439
final Duration _autoscrollDuration = Duration(milliseconds: _durationInt);
440440
final _animationDuration = Duration(milliseconds: widget.animationDuration);
441-
final int pagesLength = getPagesLength();
441+
final int pagesLength = getPagesLength() - 1;
442442
if (widget.infiniteAutoScroll) {
443443
while (true) {
444444
if (!mounted) {

0 commit comments

Comments
 (0)