mirror of
https://github.com/2dust/v2rayN.git
synced 2026-08-25 08:32:05 +03:00
Refactor UpdateService to use instance config and callbacks
This commit is contained in:
@@ -596,7 +596,7 @@ public class MainWindowViewModel : MyReactiveObject
|
||||
AppEvents.RoutingsMenuRefreshRequested.Publish();
|
||||
|
||||
await ConfigHandler.SaveConfig(_config);
|
||||
await new UpdateService().UpdateGeoFileAll(_config, UpdateTaskHandler);
|
||||
await new UpdateService(_config, UpdateTaskHandler).UpdateGeoFileAll();
|
||||
await Reload();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user