diff --git a/.changes/linux-notification-icon.md b/.changes/linux-notification-icon.md new file mode 100644 index 000000000..6c227934a --- /dev/null +++ b/.changes/linux-notification-icon.md @@ -0,0 +1,5 @@ +--- +"tauri": patch +--- + +Set notification icon to app icon on Linux. \ No newline at end of file diff --git a/core/tauri/src/api/notification.rs b/core/tauri/src/api/notification.rs index 982283f21..f7333bbdd 100644 --- a/core/tauri/src/api/notification.rs +++ b/core/tauri/src/api/notification.rs @@ -83,6 +83,8 @@ impl Notification { } if let Some(icon) = self.icon { notification.icon(&icon); + } else { + notification.auto_icon(); } #[cfg(windows)] {