From 2ad5ae587234d3e21ae6bea8125220daadd7ed30 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Tue, 19 Sep 2023 09:53:31 +0200 Subject: [PATCH] fix(nextcloud): Fix WebDAV progress callback typo Signed-off-by: jld3103 --- packages/nextcloud/lib/src/webdav/client.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nextcloud/lib/src/webdav/client.dart b/packages/nextcloud/lib/src/webdav/client.dart index a254d427..10114b8b 100644 --- a/packages/nextcloud/lib/src/webdav/client.dart +++ b/packages/nextcloud/lib/src/webdav/client.dart @@ -160,7 +160,7 @@ class WebDavClient { final DateTime? lastModified, final DateTime? created, final int? contentLength, - final void Function(double progres)? onProgress, + final void Function(double progress)? onProgress, }) async { var uploaded = 0; return _send( @@ -193,7 +193,7 @@ class WebDavClient { final Uri path, { final DateTime? lastModified, final DateTime? created, - final void Function(double progres)? onProgress, + final void Function(double progress)? onProgress, }) async => putStream( file.openRead().cast(),