diff --git a/lib/widget/album_dir_picker.dart b/lib/widget/album_dir_picker.dart index 25a8b687..27d767e3 100644 --- a/lib/widget/album_dir_picker.dart +++ b/lib/widget/album_dir_picker.dart @@ -57,7 +57,8 @@ class _AlbumDirPickerState extends State @override getPickerRoot() { final root = api_util.getWebdavRootUrlRelative(widget.account); - if (widget.account.roots.length == 1) { + if (widget.account.roots.length == 1 && + widget.account.roots.first.isNotEmpty) { return "$root/${widget.account.roots.first}"; } else { return root;