Fixed app not launching properly

This commit is contained in:
Jeddunk 2021-01-01 14:53:02 +01:00
parent 717960c6b5
commit 201e122e8b
3 changed files with 18 additions and 14 deletions

View file

@ -71,7 +71,8 @@ namespace auto_creamapi.ViewModels
var filename = await download;
/*var extract = _download.Extract(filename);
await extract;*/
await Task.Run(() => _download.Extract(filename));
var extract = Task.Run(() => _download.Extract(filename));
await extract.ConfigureAwait(false);
_token.Dispose();
await _navigationService.Close(this);
}