mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[darwin] systray basic darkmode implementation
This commit is contained in:
parent
be2d616190
commit
754d0934bf
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue