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,27 @@
// Metro module 10779 (f10780).
import { VoiceChannelEffectAnimationType } from "./VoiceChannelEffectsConstants";
import Module589 from "../../_bundle/Module589";
import Dispatcher from "../../Dispatcher";
let PREMIUM;
class VoiceChannelEffectsPersistedStore extends Module589.PersistedStore {
static displayName = "VoiceChannelEffectsPersistedStore";
static persistKey = "VoiceChannelEffectsPersistedStore";
initialize(a0) {
let r4 = a0?.animationType;
if (r4 == null) {
r4 = VoiceChannelEffectAnimationType.PREMIUM;
}
PREMIUM = r4;
}
getState() {
return {
animationType: PREMIUM
};
}
}
const voiceChannelEffectsPersistedStore = new VoiceChannelEffectsPersistedStore(Dispatcher, {
VOICE_CHANNEL_EFFECT_TOGGLE_ANIMATION_TYPE: function handleToggleAnimationType() {
PREMIUM = PREMIUM === VoiceChannelEffectAnimationType.BASIC ? VoiceChannelEffectAnimationType.PREMIUM : VoiceChannelEffectAnimationType.BASIC;
}
});
export default voiceChannelEffectsPersistedStore;