Code clean

This commit is contained in:
2dust
2024-10-24 17:56:39 +08:00
parent 34f5c0f910
commit 871cb81323
15 changed files with 28 additions and 29 deletions

View File

@@ -10,7 +10,7 @@
{
ConfigType = EConfigType.Trojan
};
var url = Utils.TryUri(str);
if (url == null) return null;

View File

@@ -7,6 +7,7 @@ namespace ServiceLib.Models
{
[PrimaryKey]
public string Id { get; set; }
public string Remarks { get; set; }
public string Url { get; set; }
public string RuleSet { get; set; }

View File

@@ -181,6 +181,7 @@ namespace ServiceLib.ViewModels
{
SelectedRouting = new();
SelectedServer = new();
RunningServerToolTipText = "-";
if (_config.TunModeItem.EnableTun && AppHandler.Instance.IsAdministrator)
{