mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 14:08:16 +08:00
save
This commit is contained in:
@@ -113,14 +113,22 @@ namespace System.Application.UI.ViewModels
|
||||
});
|
||||
|
||||
|
||||
HideAppCommand = ReactiveCommand.Create(OpenHideAppWindow);
|
||||
#if DEBUG
|
||||
MenuItems = new ObservableCollection<MenuItemViewModel>()
|
||||
{
|
||||
new MenuItemViewModel(nameof(AppResources.GameList_HideGameManger)),
|
||||
new MenuItemViewModel(nameof(AppResources.GameList_HideGameManger)){
|
||||
Command=HideAppCommand
|
||||
},
|
||||
new MenuItemViewModel (nameof(AppResources.GameList_IdleGamesManger)),
|
||||
};
|
||||
#endif
|
||||
}
|
||||
public void OpenHideAppWindow() {
|
||||
|
||||
IShowWindowService.Instance.Show(CustomWindow.HideApp, new HideAppWindowViewModel(), string.Empty, ResizeModeCompat.CanResize);
|
||||
}
|
||||
public ReactiveCommand<Unit, Unit> HideAppCommand { get; }
|
||||
|
||||
internal override void Activation()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user