Skip to content

Commit 18a9816

Browse files
committed
feat(nextcloud): Consider WebDAV hidden prop
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 3c3a01e commit 18a9816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextcloud/lib/src/webdav/file.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class WebDavFile {
9898
late final String name = path.name;
9999

100100
/// Whether the file is hidden.
101-
late final bool isHidden = name.startsWith('.');
101+
late final bool isHidden = props.ncHidden ?? name.startsWith('.');
102102

103103
/// Whether the file is a directory
104104
late final bool isDirectory = (isCollection ?? false) || path.isDirectory;

0 commit comments

Comments
 (0)