Optimize remove server

This commit is contained in:
2dust 2023-02-01 11:08:05 +08:00
parent 639a9fd540
commit 61f297215d

View file

@ -905,12 +905,16 @@ namespace v2rayN.ViewModels
{
return;
}
var exists = lstSelecteds.Exists(t => t.indexId == _config.indexId);
ConfigHandler.RemoveServer(_config, lstSelecteds);
_noticeHandler?.Enqueue(ResUI.OperationSuccess);
RefreshServers();
Reload();
if (exists)
{
Reload();
}
}
private void RemoveDuplicateServer()