diff --git a/packages/neon/neon_files/lib/blocs/browser.dart b/packages/neon/neon_files/lib/blocs/browser.dart index 28b3969b..12b5df0d 100644 --- a/packages/neon/neon_files/lib/blocs/browser.dart +++ b/packages/neon/neon_files/lib/blocs/browser.dart @@ -55,7 +55,7 @@ class FilesBrowserBloc extends InteractiveBloc implements FilesBrowserBlocEvents ocfavorite: true, ), ), - (final response) => response.toWebDavFiles(client.webdav), + (final response) => response.toWebDavFiles(client.webdav).sublist(1), emitEmptyCache: true, ); } diff --git a/packages/nextcloud/lib/src/webdav/file.dart b/packages/nextcloud/lib/src/webdav/file.dart index 066fd482..5f3d8e1f 100644 --- a/packages/nextcloud/lib/src/webdav/file.dart +++ b/packages/nextcloud/lib/src/webdav/file.dart @@ -4,7 +4,6 @@ part of '../../nextcloud.dart'; extension WebDavMultistatusFile on WebDavMultistatus { /// Convert the [WebDavMultistatus] into a [WebDavFile] for easier handling List toWebDavFiles(final WebDavClient client) => responses - .sublist(1) .where((final response) => response.href != null) .map( (final response) => WebDavFile(