mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-08-01 05:20:14 +00:00
fix event bugs
This commit is contained in:
@@ -13,7 +13,7 @@ namespace ElectronNET.WebApp.Controllers
|
||||
Electron.IpcMain.On("put-in-tray", (args) =>
|
||||
{
|
||||
|
||||
if (Electron.Tray.Items.Count == 0)
|
||||
if (Electron.Tray.MenuItems.Count == 0)
|
||||
{
|
||||
var menu = new MenuItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user