This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,17 @@
// Metro module 10269 (f10270).
import NotificationSettingsStore from "../../../stores/NotificationSettingsStore";
import { isInAppMessageSoundsEnabled } from "./InAppMessageSoundsStore";
import { InAppNotificationTypes } from "../../../Constants";
import { isMetaQuest } from "../../device/MetaQuestUtils.android";
import { playSound } from "../../sound_playback/SoundUtils";
let c6854_5 = "message1";
let c6854_6 = 0;
export function playInAppMessageSound(a0) {
if (a0.type === InAppNotificationTypes.MESSAGE && isMetaQuest() && isInAppMessageSoundsEnabled() && !NotificationSettingsStore.isSoundDisabled(c6854_5)) {
const r22 = Date.now();
if (!(r22 - c6854_6 < 1000)) {
c6854_6 = r22;
playSound(c6854_5, 0.4);
}
}
}