Skip to content

Commit

Permalink
支持显示列表新加入下载任务
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Dec 20, 2023
1 parent d6986d5 commit b16cd23
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ public MainModel(
Title += $" - {appInfo?.Value?.Environment}";

UpdateDownloadFileInfoViewList();
_downloadFileListManager.DownloadFileInfoList.CollectionChanged += DownloadFileInfoList_CollectionChanged;
}

private void DownloadFileInfoList_CollectionChanged(object? sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{
UpdateDownloadFileInfoViewList();
}

public string? Title { get; }
Expand Down

0 comments on commit b16cd23

Please sign in to comment.