🎨 Optimize code

This commit is contained in:
landaiqing committed 2025-10-20 23:00:04 +08:00
1 parent aa8139884b
commit b704dd2438
24 files changed
+274 -602

No files matched your search

+2 -1
View File
@@ -9,7 +9,8 @@ import (
)
// SetupSystemTray 设置系统托盘及其功能
func SetupSystemTray(app *application.App, mainWindow *application.WebviewWindow, assets embed.FS, trayService *services.TrayService) {
func SetupSystemTray(mainWindow *application.WebviewWindow, assets embed.FS, trayService *services.TrayService) {
app := application.Get()
// 创建系统托盘
systray := app.SystemTray.New()
// 设置提示