5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-20 10:59:30 +08:00

[darwin] systray basic darkmode implementation

This commit is contained in:
Travis McLane 2023-05-08 10:56:49 -05:00
parent be2d616190
commit 754d0934bf

View File

@ -134,6 +134,10 @@ func (s *macosSystemTray) setIcon(icon []byte) {
})
}
func (s *macosSystemTray) setDarkModeIcon(icon []byte) {
s.setIcon(icon)
}
func (s *macosSystemTray) setTemplateIcon(icon []byte) {
s.icon = icon
s.isTemplateIcon = true