Skip to content

Commit 2a74b11

Browse files
authored
Merge pull request #123 from ken-tn/patch-1
Update Storage Access Framework docs - persistedUriPermissions exampl…
2 parents 8d9c5ee + 7d11558 commit 2a74b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Usage/Storage Access Framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Basically this allow get the **granted** `Uri`s permissions after the app restar
207207
```dart
208208
final List<UriPermission>? grantedUris = await persistedUriPermissions();
209209
210-
if (grantedUris != null) {
210+
if (grantedUris == null) {
211211
print('There is no granted Uris');
212212
} else {
213213
print('My granted Uris: $grantedUris');

0 commit comments

Comments
 (0)