mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-25 01:34:41 +00:00
Compare commits
1 commit
55484084e9
...
3223b0bb13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3223b0bb13 |
4 changed files with 3 additions and 5 deletions
|
|
@ -258,7 +258,7 @@ public class MainWindowViewModel : MyReactiveObject
|
|||
{
|
||||
_config.UiItem.ShowInTaskbar = true;
|
||||
|
||||
//await ConfigHandler.InitBuiltinRouting(_config);
|
||||
await ConfigHandler.InitBuiltinRouting(_config);
|
||||
await ConfigHandler.InitBuiltinDNS(_config);
|
||||
await ConfigHandler.InitBuiltinFullConfigTemplate(_config);
|
||||
await ProfileExManager.Instance.Init();
|
||||
|
|
|
|||
|
|
@ -238,7 +238,6 @@ public class StatusBarViewModel : MyReactiveObject
|
|||
|
||||
private async Task Init()
|
||||
{
|
||||
await ConfigHandler.InitBuiltinRouting(_config);
|
||||
await RefreshRoutingsMenu();
|
||||
await InboundDisplayStatus();
|
||||
await ChangeSystemProxyAsync(_config.SystemProxyItem.SysProxyType, true);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ public partial class MsgView : ReactiveUserControl<MsgViewModel>
|
|||
public MsgView()
|
||||
{
|
||||
InitializeComponent();
|
||||
txtMsg.TextArea.TextView.Options.EnableHyperlinks = false;
|
||||
ViewModel = new MsgViewModel(UpdateViewHandler);
|
||||
|
||||
this.WhenActivated(disposables =>
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@ using Avalonia;
|
|||
using Avalonia.Controls;
|
||||
using Avalonia.Input;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.ReactiveUI;
|
||||
using Avalonia.VisualTree;
|
||||
using ReactiveUI;
|
||||
using v2rayN.Desktop.Base;
|
||||
|
||||
namespace v2rayN.Desktop.Views;
|
||||
|
||||
public partial class ProfilesSelectWindow : WindowBase<ProfilesSelectViewModel>
|
||||
public partial class ProfilesSelectWindow : ReactiveWindow<ProfilesSelectViewModel>
|
||||
{
|
||||
private static Config _config;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue