Fixed ios related bugs, removed unimplemented actions to comply with apple guidelines

This commit is contained in:
2023-08-08 22:31:13 +02:00
parent 45a829082b
commit d234074b87
6 changed files with 54 additions and 28 deletions

View File

@ -43,7 +43,7 @@ class _FileUploadDialogState extends State<FileUploadDialog> {
setState(() {
state = FileUploadState.checkConflict;
});
await (await WebdavApi.webdav).mkcol(widget.remotePath.join("/"));
//await (await WebdavApi.webdav).mkcol(widget.remotePath.join("/")); // TODO is this needed? It does not work anymore...
List<WebDavResponse> result = (await webdavClient.propfind(widget.remotePath.join("/"))).responses;
if(result.any((element) => element.href!.endsWith("/$targetFileName"))) {
setState(() {