fix: add a default icon to notifications on linux (#4283)

This commit is contained in:
Didrik Nordström
2022-06-09 12:42:07 -07:00
committed by GitHub
parent 48af96930a
commit 235e448def
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Set notification icon to app icon on Linux.

View File

@@ -83,6 +83,8 @@ impl Notification {
}
if let Some(icon) = self.icon {
notification.icon(&icon);
} else {
notification.auto_icon();
}
#[cfg(windows)]
{