mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-01 11:18:21 +03:00
Code optimization, function asynchrony
This commit is contained in:
@@ -82,7 +82,7 @@ namespace ServiceLib.ViewModels
|
||||
return;
|
||||
}
|
||||
|
||||
var item = AppHandler.Instance.GetProfileItem(SelectedSource.indexId);
|
||||
var item = await AppHandler.Instance.GetProfileItem(SelectedSource.indexId);
|
||||
item ??= SelectedSource;
|
||||
item.address = fileName;
|
||||
if (await ConfigHandler.AddCustomServer(_config, item, false) == 0)
|
||||
|
||||
Reference in New Issue
Block a user