Refactor some service

This commit is contained in:
2dust
2024-10-07 10:39:43 +08:00
parent 3bdef4d6d8
commit d5c6a42a9a
17 changed files with 82 additions and 73 deletions

View File

@@ -1,6 +1,7 @@
using DynamicData.Binding;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using ServiceLib.Services;
using Splat;
using System.Reactive;
@@ -295,7 +296,7 @@ namespace ServiceLib.ViewModels
return;
}
DownloadHandler downloadHandle = new DownloadHandler();
DownloadService downloadHandle = new DownloadService();
var result = await downloadHandle.TryDownloadString(url, true, "");
var ret = await AddBatchRoutingRulesAsync(SelectedRouting, result);
if (ret == 0)