Add sound support for desktop notifications in Tauri v2 (#2678)

* Add sound support for desktop notifications in Tauri v2

* ci

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Keerthi
2025-08-21 13:05:27 +00:00
committed by GitHub
parent 21d721a0c2
commit 2d03e2eac2
6 changed files with 83 additions and 6 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ impl<R: Runtime> NotificationBuilder<R> {
self
}
/// The sound resource name. Only available on mobile.
/// The sound resource name for the notification.
pub fn sound(mut self, sound: impl Into<String>) -> Self {
self.data.sound.replace(sound.into());
self