diff --git a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs index 9983f8c7..a2bfa298 100644 --- a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs +++ b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs @@ -198,7 +198,7 @@ namespace v2rayN.Desktop.Views private void LstProfiles_DoubleTapped(object? sender, Avalonia.Input.TappedEventArgs e) { var source = e.Source as Border; - if (source == null || source.Name != "CellBorder") return; + if (source?.Name == "HeaderBackground") return; if (_config.UiItem.DoubleClick2Activate) { ViewModel?.SetDefaultServer(); diff --git a/v2rayN/v2rayN.Desktop/Views/SubEditWindow.axaml b/v2rayN/v2rayN.Desktop/Views/SubEditWindow.axaml index bd7e01f0..f0b25fe7 100644 --- a/v2rayN/v2rayN.Desktop/Views/SubEditWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/SubEditWindow.axaml @@ -95,6 +95,41 @@ Classes="Margin8" TextWrapping="Wrap" Watermark="{x:Static resx:ResUI.SubUrlTips}" /> + - -