- start addressing Alans feedback
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user