minor refactors
This commit is contained in:
parent
3dcbcf42ed
commit
323b8f2fb9
9 changed files with 49 additions and 47 deletions
|
|
@ -12,8 +12,7 @@ namespace FileLiberator
|
|||
{
|
||||
var client = new HttpClient();
|
||||
|
||||
var progress = new Progress<DownloadProgress>();
|
||||
progress.ProgressChanged += (_, e) => OnStreamingProgressChanged(e);
|
||||
var progress = new Progress<DownloadProgress>(OnStreamingProgressChanged);
|
||||
|
||||
OnStreamingBegin(proposedDownloadFilePath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue