mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-12 06:19:51 +05:00
Convert rule domain newLine to comma
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user