Skip to content

Commit

Permalink
Merge pull request #813 from nextcloud/fix/nextcloud/webdav-progress-…
Browse files Browse the repository at this point in the history
…typo

fix(nextcloud): Fix WebDAV progress callback typo
  • Loading branch information
provokateurin authored Sep 19, 2023
2 parents 8cdb4c7 + 2ad5ae5 commit 2614652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nextcloud/lib/src/webdav/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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>(),
Expand Down

0 comments on commit 2614652

Please sign in to comment.