mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-12 16:24:59 +03:00
Code optimization, function asynchrony
This commit is contained in:
@@ -41,7 +41,7 @@ namespace ServiceLib.ViewModels
|
||||
return;
|
||||
}
|
||||
|
||||
if (ConfigHandler.AddSubItem(_config, SelectedSource) == 0)
|
||||
if (await ConfigHandler.AddSubItem(_config, SelectedSource) == 0)
|
||||
{
|
||||
NoticeHandler.Instance.Enqueue(ResUI.OperationSuccess);
|
||||
_updateView?.Invoke(EViewAction.CloseWindow, null);
|
||||
|
||||
Reference in New Issue
Block a user