// 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;