mirror of https://github.com/2dust/v2rayN
Hide tray tip text
parent
355bf84af4
commit
1ce5571ac6
|
@ -96,8 +96,6 @@ namespace v2rayN.Mode
|
|||
|
||||
public int autoUpdateInterval { get; set; } = 10;
|
||||
|
||||
public int autoUpdateSubInterval { get; set; } = 10;
|
||||
|
||||
public bool checkPreReleaseUpdate { get; set; } = false;
|
||||
|
||||
public bool enableSecurityProtocolTls13 { get; set; }
|
||||
|
@ -126,6 +124,7 @@ namespace v2rayN.Mode
|
|||
public bool doubleClick2Activate { get; set; }
|
||||
public bool autoHideStartup { get; set; } = true;
|
||||
public string mainMsgFilter { get; set; }
|
||||
public bool showTrayTip { get; set; }
|
||||
public List<ColumnItem> mainColumnItem { get; set; }
|
||||
}
|
||||
|
||||
|
|
|
@ -167,6 +167,9 @@ namespace v2rayN.ViewModels
|
|||
[Reactive]
|
||||
public ImageSource AppIcon { get; set; }
|
||||
|
||||
[Reactive]
|
||||
public bool BlShowTrayTip { get; set; }
|
||||
|
||||
#endregion Menu
|
||||
|
||||
#region System Proxy
|
||||
|
@ -1694,6 +1697,7 @@ namespace v2rayN.ViewModels
|
|||
}
|
||||
CurrentFontSize = _config.uiItem.currentFontSize;
|
||||
CurrentLanguage = _config.uiItem.currentLanguage;
|
||||
BlShowTrayTip = _config.uiItem.showTrayTip;
|
||||
|
||||
this.WhenAnyValue(
|
||||
x => x.ColorModeDark,
|
||||
|
|
|
@ -844,6 +844,7 @@
|
|||
</tb:TaskbarIcon.ContextMenu>
|
||||
<tb:TaskbarIcon.TrayToolTip>
|
||||
<Border
|
||||
x:Name="borTrayToolTip"
|
||||
Width="Auto"
|
||||
Height="Auto"
|
||||
Background="{DynamicResource MaterialDesignLightBackground}"
|
||||
|
|
|
@ -165,6 +165,7 @@ namespace v2rayN.Views
|
|||
this.OneWayBind(ViewModel, vm => vm.RunningServerToolTipText, v => v.tbNotify.ToolTipText).DisposeWith(disposables);
|
||||
this.OneWayBind(ViewModel, vm => vm.NotifyLeftClickCmd, v => v.tbNotify.LeftClickCommand).DisposeWith(disposables);
|
||||
this.OneWayBind(ViewModel, vm => vm.AppIcon, v => v.Icon).DisposeWith(disposables);
|
||||
this.OneWayBind(ViewModel, vm => vm.BlShowTrayTip, v => v.borTrayToolTip.Visibility).DisposeWith(disposables);
|
||||
|
||||
//status bar
|
||||
this.OneWayBind(ViewModel, vm => vm.InboundDisplay, v => v.txtInboundDisplay.Text).DisposeWith(disposables);
|
||||
|
|
Loading…
Reference in New Issue