mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix: add a default icon to notifications on linux (#4283)
This commit is contained in:
5
.changes/linux-notification-icon.md
Normal file
5
.changes/linux-notification-icon.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Set notification icon to app icon on Linux.
|
||||
@@ -83,6 +83,8 @@ impl Notification {
|
||||
}
|
||||
if let Some(icon) = self.icon {
|
||||
notification.icon(&icon);
|
||||
} else {
|
||||
notification.auto_icon();
|
||||
}
|
||||
#[cfg(windows)]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user