Commit 40dd3922 authored by Nathan van Beelen's avatar Nathan van Beelen Committed by Wilko Manger

Reverse swipe order in PhotoViewGallery

parent f1abe555
......@@ -102,6 +102,7 @@ class ImagePageState extends State<ImagePage> {
final events = snapshot.data;
return PhotoViewGallery.builder(
itemCount: events.length,
reverse: true,
builder: (context, index) {
return PhotoViewGalleryPageOptions(
imageProvider: MatrixImage(events[index].content.url),
......
......@@ -38,7 +38,7 @@ dependencies:
transparent_image: ^1.0.0
photo_view: ^0.3.3
photo_view: ^0.4.1
url_launcher: ^5.0.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment