mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-17 13:54:40 +00:00
Compare commits
3 commits
dc4611a258
...
b25d4d57bd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b25d4d57bd | ||
![]() |
46edd8f9a4 | ||
![]() |
ebb95b5ee8 |
4 changed files with 5 additions and 3 deletions
|
@ -248,7 +248,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,6 +238,7 @@ public class StatusBarViewModel : MyReactiveObject
|
|||
|
||||
private async Task Init()
|
||||
{
|
||||
await ConfigHandler.InitBuiltinRouting(_config);
|
||||
await RefreshRoutingsMenu();
|
||||
await InboundDisplayStatus();
|
||||
await ChangeSystemProxyAsync(_config.SystemProxyItem.SysProxyType, true);
|
||||
|
|
|
@ -15,6 +15,7 @@ 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 : ReactiveWindow<ProfilesSelectViewModel>
|
||||
public partial class ProfilesSelectWindow : WindowBase<ProfilesSelectViewModel>
|
||||
{
|
||||
private static Config _config;
|
||||
|
||||
|
|
Loading…
Reference in a new issue