Browse Source

Merge pull request #813 from nextcloud/fix/nextcloud/webdav-progress-typo

fix(nextcloud): Fix WebDAV progress callback typo
pull/815/head
Kate 1 year ago committed by GitHub
parent
commit
2614652f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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