From 1fcc2d8663644c552e3f26733f1a249c6975bb5d Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Sat, 22 Aug 2020 17:01:56 +0800 Subject: [PATCH] update MediumType to image in example app --- example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 86a16d0..fe1c76a 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -31,7 +31,7 @@ class _MyAppState extends State { Future initAsync() async { if (await _promptPermissionSetting()) { List collections = - await PhotoGallery.listAlbums(mediumType: MediumType.video); + await PhotoGallery.listAlbums(mediumType: MediumType.image); setState(() { _collections = collections; _loading = false;