- add open option to context menu

master
Simon G 5 years ago
parent 419151604c
commit 6911a90987
  1. 6
      Mystify/App.axaml.cs

@ -41,9 +41,11 @@ namespace Mystify
ContextMenu notifyIconContextMenu = new() ContextMenu notifyIconContextMenu = new()
{ {
Items = new List<MenuItem> Items = new List<object>
{ {
new() {Header = "Close", Command = ReactiveCommand.Create(() => desktopStyleApplicationLifetime.Shutdown())} new MenuItem {Header = "Open Mystify", Command = ReactiveCommand.Create(() => _mainWindow?.Show())},
new Separator(),
new MenuItem {Header = "Close", Command = ReactiveCommand.Create(() => desktopStyleApplicationLifetime.Shutdown())}
} }
}; };

Loading…
Cancel
Save