Skip to content

Commit 4a4d72d

Browse files
committed
ci
1 parent b469a84 commit 4a4d72d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

plugins/notification/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ sendNotification({
113113
// Platform-specific sounds
114114
async function sendPlatformSpecificNotification() {
115115
const platformName = platform()
116-
116+
117117
let soundPath
118118
if (platformName === 'darwin') {
119119
// On macOS: use system sounds or sound files in the app bundle
@@ -125,7 +125,7 @@ async function sendPlatformSpecificNotification() {
125125
// On Windows: use file paths
126126
soundPath = 'notification.wav'
127127
}
128-
128+
129129
sendNotification({
130130
title: 'Platform-specific Notification',
131131
body: 'This notification uses platform-specific sound',

plugins/notification/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ interface Options {
7272
groupSummary?: boolean
7373
/**
7474
* The sound resource name or file path for the notification.
75-
*
75+
*
7676
* Platform specific behavior:
7777
* - On macOS: use system sounds (e.g., "Ping", "Blow") or sound files in the app bundle
7878
* - On Linux: use XDG theme sounds (e.g., "message-new-instant") or file paths

plugins/notification/src/desktop.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ mod imp {
280280
if let Some(icon) = app_.default_window_icon() {
281281
notification.icon(icon.rgba().to_vec(), icon.width(), icon.height());
282282
}
283-
// Enable sound if specified
284-
if self.sound.is_some() {
285-
notification.sound(true);
286-
}
287283
let _ = notification.show();
288284
});
289285

0 commit comments

Comments
 (0)