Skip to content

Commit c81dff2

Browse files
authored
fix(notification): remove default notification sound on Windows (#440)
1 parent 32c2a44 commit c81dff2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changes/notification-revert-sound.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"notification": patch
3+
---
4+
5+
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.

plugins/notification/src/desktop.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ mod imp {
184184
{
185185
notification.app_id(&self.identifier);
186186
}
187-
188-
// will be parsed as a `::winrt_notification::Sound`
189-
notification.sound_name("Default");
190187
}
191188
#[cfg(target_os = "macos")]
192189
{

0 commit comments

Comments
 (0)