feat: 下载前清空日志栏

This commit is contained in:
uye
2023-01-28 23:19:50 +08:00
parent 5fb9b8c611
commit 59bf8bb75d

View File

@@ -699,6 +699,10 @@ namespace MaaWpfGui
switch (downloader)
{
case Downloader.Native:
Application.Current.Dispatcher.Invoke(() =>
{
_logItemViewModels.Clear();
});
returned = DownloadFileForCSharpNative(url: url, filePath: fullFilePathWithTemp, contentType: contentType, proxy);
break;