Optimize remove server

pull/3165/head
2dust 2023-02-01 11:08:05 +08:00
parent 639a9fd540
commit 61f297215d
1 changed files with 5 additions and 1 deletions

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()