From 366b4c361c12a0029ed570da7dae99ae07479aed Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Mon, 15 Nov 2021 15:10:57 +0800 Subject: [PATCH] correct typo in docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38c3e39..f79f1c3 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ Add the following property to your *AndroidManifest.xml*, located in ``` imageAlbums = await PhotoGallery.listAlbums( - mediumType: mediumType.image, + mediumType: MediumType.image, ); final List videoAlbums = await PhotoGallery.listAlbums( - mediumType: mediumType.video, + mediumType: MediumType.video, hideIfEmpty: false ); ``` @@ -81,7 +81,7 @@ if (!imagePage.isLast) { ```dart final Medium medium = await PhotoGallery.getMedium( mediumId: "10", - MediumType: MediumType.image + mediumType: MediumType.image ); ``` * Getting a file