- start addressing Alans feedback

This commit is contained in:
2025-10-17 10:17:01 +01:00
parent 7b730a8029
commit 3eb539fd9d
10 changed files with 44 additions and 31 deletions

View File

@@ -1,6 +1,11 @@
import switchSound from "../assets/sounds/ui/switch.mp3";
import popup from "../assets/sounds/ui/popup_open.mp3";
import notification from "../assets/sounds/ui/notification.mp3";
import beep from "../assets/sounds/ui/Beep.wav";
import warning from "../assets/sounds/ui/Warning.wav";
import ding from "../assets/sounds/ui/Ding.wav";
import shutter from "../assets/sounds/ui/shutter.mp3";
import type { HotlistMatches, SightingType } from "../types/types";
export function getSoundFileURL(name: string) {
@@ -8,6 +13,10 @@ export function getSoundFileURL(name: string) {
switch: switchSound,
popup: popup,
notification: notification,
beep: beep,
warning: warning,
ding: ding,
shutter: shutter,
};
return sounds[name] ?? null;
}