fix(core): revert #6680, remove default notification sound on Windows (#7229)

fix(core): revert #6680, remove default notification sound on Windows
This commit is contained in:
Amr Bashir
2023-06-17 15:18:16 +03:00
committed by GitHub
parent 066c09a6ea
commit 6afd34727f
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---
Revert [#6680](https://github.com/tauri-apps/tauri/pull/6680) 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.

View File

@@ -119,9 +119,6 @@ impl Notification {
{
notification.app_id(&self.identifier);
}
// will be parsed as a `::winrt_notification::Sound`
notification.sound_name("Default");
}
#[cfg(target_os = "macos")]
{