Skip to content

Commit

Permalink
feat(nextcloud): Consider WebDAV hidden prop
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Apr 2, 2024
1 parent 3c3a01e commit 18a9816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextcloud/lib/src/webdav/file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class WebDavFile {
late final String name = path.name;

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

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

0 comments on commit 18a9816

Please sign in to comment.