We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730e925 commit 572f887Copy full SHA for 572f887
src/renderer/utils/notifications/sound.ts
@@ -5,7 +5,7 @@ const MAXIMUM_VOLUME_PERCENTAGE = 100 as Percentage;
5
const VOLUME_STEP = 10 as Percentage;
6
7
export async function raiseSoundNotification(volume: Percentage) {
8
- const path = await globalThis.gitify.notificationSoundPath();
+ const path = await window.gitify.notificationSoundPath();
9
10
const audio = new Audio(path);
11
audio.volume = volumePercentageToLevel(volume);
0 commit comments