Skip to content

Commit

Permalink
fix: icon_is_template isn't apply when set
Browse files Browse the repository at this point in the history
  • Loading branch information
BillGoldenWater committed Feb 10, 2023
1 parent 72adf59 commit e2ff21b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform_impl/macos/system_tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl SystemTray {

pub fn set_icon_as_template(mut self, is_template: bool) {
self.icon_is_template = is_template;
self.create_button_with_icon();
}

pub fn set_menu(&mut self, tray_menu: &Menu) {
Expand Down

0 comments on commit e2ff21b

Please sign in to comment.