Browse Source

fix(nextcloud): Fix WebDAV progress callback typo

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/813/head
jld3103 1 year ago
parent
commit
2ad5ae5872
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 4
      packages/nextcloud/lib/src/webdav/client.dart

4
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<Uint8List>(),

Loading…
Cancel
Save