Skip to content

Commit 52ba947

Browse files
author
lakscastro
committed
(#90) Fixes wrong API call and doc
1 parent 8c75cea commit 52ba947

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/saf/document_file.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ class DocumentFile {
110110
/// Alias/shortname for [openDocumentFile]
111111
Future<bool?> open() => openDocumentFile();
112112

113-
/// {@macro sharedstorage.saf.canWrite}
114-
Future<bool?> canRead() async => saf.canWrite(uri);
113+
/// {@macro sharedstorage.saf.canRead}
114+
Future<bool?> canRead() async => saf.canRead(uri);
115115

116116
/// {@macro sharedstorage.saf.canWrite}
117117
Future<bool?> canWrite() async => saf.canWrite(uri);

0 commit comments

Comments
 (0)