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:
parent
be2d616190
commit
754d0934bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user