Skip to content

Commit

Permalink
fix: in gallery view the dots are not synchronize with the position o…
Browse files Browse the repository at this point in the history
…f the photo, when the screen is launched (#2700)
  • Loading branch information
g123k authored Aug 1, 2022
1 parent 9057659 commit 8bd4e9f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> {
element.imageUrl == widget.productImageData.imageUrl),
),
);
_currentIndex = _controller.initialPage;

_productImageDataCurrent = widget.productImageData;
super.initState();
}
Expand Down

0 comments on commit 8bd4e9f

Please sign in to comment.