mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-03 13:48:52 +00:00
Convert rule domain newLine to comma
This commit is contained in:
parent
6b6169e248
commit
75742d8a9e
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ namespace v2rayN.ViewModels
|
||||||
|
|
||||||
private void SaveRules()
|
private void SaveRules()
|
||||||
{
|
{
|
||||||
|
Domain = Domain.Replace(Environment.NewLine, ",");
|
||||||
|
IP = IP.Replace(Environment.NewLine, ",");
|
||||||
|
|
||||||
if (AutoSort)
|
if (AutoSort)
|
||||||
{
|
{
|
||||||
SelectedSource.domain = Utils.String2ListSorted(Domain);
|
SelectedSource.domain = Utils.String2ListSorted(Domain);
|
||||||
|
|
Loading…
Reference in a new issue