This commit is contained in:
2dust 2023-01-31 14:13:25 +08:00
parent 47e6eb546d
commit b147e05794
5 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using System.Windows.Media;
namespace v2rayN.Converters

View file

@ -95,6 +95,10 @@ namespace v2rayN.Handler
}
if (!Utils.IsNullOrEmpty(filter))
{
if (filter.Contains("'"))
{
filter = filter.Replace("'", "");
}
sql += $" and a.remarks like '%{filter}%'";
}
sql += " order by a.sort";

View file

@ -222,7 +222,7 @@ namespace v2rayN.Handler
continue;
}
if (it.delay < 0)
{
{
UpdateFunc(it.indexId, "", ResUI.SpeedtestingSkip);
continue;
}

View file

@ -1,5 +1,4 @@
using Grpc.Core;
using ProtosLib.Statistics;
using System.Net;
using System.Net.Sockets;
using v2rayN.Base;

View file

@ -55,7 +55,7 @@ namespace v2rayN.ViewModels
[Reactive] public bool EnableSecurityProtocolTls13 { get; set; }
[Reactive] public bool AutoHideStartup { get; set; }
[Reactive] public bool EnableCheckPreReleaseUpdate { get; set; }
[Reactive] public bool EnableDragDropSort { get; set; }
[Reactive] public bool EnableDragDropSort { get; set; }
[Reactive] public int autoUpdateInterval { get; set; }
[Reactive] public int autoUpdateSubInterval { get; set; }
[Reactive] public int trayMenuServersLimit { get; set; }