feat: Add support for NPED Category D across components

This commit is contained in:
2025-12-15 13:17:43 +00:00
parent 5dc1d13e25
commit 696a36ba92
10 changed files with 193 additions and 92 deletions

View File

@@ -88,8 +88,14 @@ export function useSightingFeed(url: string | undefined) {
const isNPEDHitA = cat === "A";
const isNPEDHitB = cat === "B";
const isNPEDHitC = cat === "C";
const isNPEDHitD = cat === "D";
if ((isNPEDHitA && audioArmed) || (isNPEDHitB && audioArmed) || (isNPEDHitC && audioArmed)) {
if (
(isNPEDHitA && audioArmed) ||
(isNPEDHitB && audioArmed) ||
(isNPEDHitC && audioArmed) ||
(isNPEDHitD && audioArmed)
) {
playNPEDHitSound();
} else if (isHotListHit && audioArmed) {
playHotlistsound();