diff --git a/packages/ui/src/assets/sounds/msn.mp3 b/packages/ui/src/assets/sounds/msn.mp3 new file mode 100644 index 0000000000..e89656647d Binary files /dev/null and b/packages/ui/src/assets/sounds/msn.mp3 differ diff --git a/packages/ui/src/features/settings/sections/NotificationsSettings.tsx b/packages/ui/src/features/settings/sections/NotificationsSettings.tsx index 2414f0a56f..2d7835a8cb 100644 --- a/packages/ui/src/features/settings/sections/NotificationsSettings.tsx +++ b/packages/ui/src/features/settings/sections/NotificationsSettings.tsx @@ -283,6 +283,7 @@ export function NotificationsSettings() { Switch Wilhelm scream ICQ + MSN Messenger {customSounds.length > 0 && ( Custom diff --git a/packages/ui/src/features/settings/settingsStore.ts b/packages/ui/src/features/settings/settingsStore.ts index 161ed7a11a..eab068147d 100644 --- a/packages/ui/src/features/settings/settingsStore.ts +++ b/packages/ui/src/features/settings/settingsStore.ts @@ -51,7 +51,8 @@ export type BuiltInCompletionSound = | "slide" | "switch" | "wilhelm" - | "icq"; + | "icq" + | "msn"; // A user-installed sound is selected by referencing its id as `custom:`. export type CompletionSound = diff --git a/packages/ui/src/utils/sounds.ts b/packages/ui/src/utils/sounds.ts index 5da0cd8809..6872c36429 100644 --- a/packages/ui/src/utils/sounds.ts +++ b/packages/ui/src/utils/sounds.ts @@ -11,6 +11,7 @@ import icqUrl from "../assets/sounds/icq.mp3"; import knockUrl from "../assets/sounds/knock.mp3"; import meepUrl from "../assets/sounds/meep.mp3"; import meepSmolUrl from "../assets/sounds/meep-smol.mp3"; +import msnUrl from "../assets/sounds/msn.mp3"; import reviUrl from "../assets/sounds/revi.mp3"; import ringUrl from "../assets/sounds/ring.mp3"; import shootUrl from "../assets/sounds/shoot.mp3"; @@ -35,6 +36,7 @@ const SOUND_URLS: Record, string> = { switch: switchUrl, wilhelm: wilhelmUrl, icq: icqUrl, + msn: msnUrl, }; const MIN_RATE = 1 / 3;