修改logo,修改配置页面的窗口

This commit is contained in:
2026-07-06 20:22:25 +08:00
parent 04d2e6e429
commit 12210423f2
12 changed files with 110 additions and 15 deletions
+6 -4
View File
@@ -20,10 +20,11 @@ import (
// App is the GUI application controller.
type App struct {
fyneApp fyne.App
db *db.Store
kc keychain.Store
window fyne.Window
fyneApp fyne.App
db *db.Store
kc keychain.Store
window fyne.Window
profileWindow fyne.Window
// UI widgets
profileSelect *widget.Select
@@ -96,6 +97,7 @@ func Run() {
a.window.SetCloseIntercept(func() {
if cfg.CloseToTray {
hideDockIcon()
a.window.Hide()
} else {
a.fyneApp.Quit()