mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:17:22 +01:00
change downloads to concurrentdictionary
This commit is contained in:
parent
5c480f551b
commit
94ff918881
4 changed files with 10 additions and 5 deletions
|
|
@ -367,7 +367,7 @@ namespace MareSynchronos.UI
|
|||
|
||||
if (currentDownloads.Any())
|
||||
{
|
||||
var totalDownloads = currentDownloads.Count;
|
||||
var totalDownloads = currentDownloads.Count();
|
||||
var doneDownloads = currentDownloads.Count(c => c.IsTransferred);
|
||||
var totalDownloaded = currentDownloads.Sum(c => c.Transferred);
|
||||
var totalToDownload = currentDownloads.Sum(c => c.Total);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue