Skip to content

Commit 6afd347

Browse files
authored
fix(core): revert #6680, remove default notification sound on Windows (#7229)
fix(core): revert #6680, remove default notification sound on Windows
1 parent 066c09a commit 6afd347

File tree

2 files changed

+5
-3
lines changed

2 files changed

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

core/tauri/src/api/notification.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ impl Notification {
119119
{
120120
notification.app_id(&self.identifier);
121121
}
122-
123-
// will be parsed as a `::winrt_notification::Sound`
124-
notification.sound_name("Default");
125122
}
126123
#[cfg(target_os = "macos")]
127124
{

0 commit comments

Comments
 (0)