Selaa lähdekoodia

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

fix(core): revert #6680, remove default notification sound on Windows
Amr Bashir 2 vuotta sitten
vanhempi
sitoutus
6afd34727f

+ 5 - 0
.changes/core-revet-windows-notification-default-sound.md

@@ -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.

+ 0 - 3
core/tauri/src/api/notification.rs

@@ -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")]
     {