feat(notification): play default sound on WIndows

Ref https://github.com/tauri-apps/tauri/pull/6680
pull/401/head
Lucas Nogueira 2 years ago
parent 94b3747a9c
commit 7d71ad4e58
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -0,0 +1,5 @@
---
"notification": patch
---
Play a default sound when showing a notification on Windows.

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

Loading…
Cancel
Save