update MediumType to image in example app
This commit is contained in:
parent
04249eeab3
commit
1fcc2d8663
@ -31,7 +31,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
Future<void> initAsync() async {
|
Future<void> initAsync() async {
|
||||||
if (await _promptPermissionSetting()) {
|
if (await _promptPermissionSetting()) {
|
||||||
List<Album> collections =
|
List<Album> collections =
|
||||||
await PhotoGallery.listAlbums(mediumType: MediumType.video);
|
await PhotoGallery.listAlbums(mediumType: MediumType.image);
|
||||||
setState(() {
|
setState(() {
|
||||||
_collections = collections;
|
_collections = collections;
|
||||||
_loading = false;
|
_loading = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user