Convert rule domain newLine to comma

pull/3786/head
2dust 2023-04-27 10:21:06 +08:00
parent 6b6169e248
commit 75742d8a9e
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ namespace v2rayN.ViewModels
private void SaveRules()
{
Domain = Domain.Replace(Environment.NewLine, ",");
IP = IP.Replace(Environment.NewLine, ",");
if (AutoSort)
{
SelectedSource.domain = Utils.String2ListSorted(Domain);