@ -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,
);
}
@ -4,7 +4,6 @@ part of '../../nextcloud.dart';
extension WebDavMultistatusFile on WebDavMultistatus {
/// Convert the [WebDavMultistatus] into a [WebDavFile] for easier handling
List<WebDavFile> toWebDavFiles(final WebDavClient client) => responses
.sublist(1)
.where((final response) => response.href != null)
.map(
(final response) => WebDavFile(