fix(notification): remove default notification sound on Windows (#440)

This commit is contained in:
Amr Bashir
2023-06-18 13:18:20 +03:00
committed by GitHub
parent 32c2a441c3
commit c81dff292a
2 changed files with 5 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"notification": patch
---
Revert [7d71ad4e5](https://github.com/tauri-apps/plugins-workspace/commit/7d71ad4e587bcf47ea34645f5b226945e487b765) which added a default sound for notifications on Windows. This introduced inconsistency with other platforms that has silent notifications by default. In the upcoming releases, we will add support for modifying the notification sound across all platforms.
-3
View File
@@ -184,9 +184,6 @@ mod imp {
{
notification.app_id(&self.identifier);
}
// will be parsed as a `::winrt_notification::Sound`
notification.sound_name("Default");
}
#[cfg(target_os = "macos")]
{