mirror of
https://github.com/Mikescher/kpsync.git
synced 2025-08-25 08:38:03 +02:00
21 lines
312 B
Go
21 lines
312 B
Go
package app
|
|
|
|
import (
|
|
"fyne.io/systray"
|
|
"mikescher.com/kpsync/assets"
|
|
)
|
|
|
|
func (app *Application) initTray() {
|
|
|
|
trayOnReady := func() {
|
|
|
|
systray.SetIcon(assets.IconInit)
|
|
systray.SetTitle("KeepassXC Sync")
|
|
systray.SetTooltip("Initializing...")
|
|
|
|
app.trayReady = true
|
|
}
|
|
|
|
systray.Run(trayOnReady, nil)
|
|
}
|