// Metro module 16011 (f16012). import ChannelStore from "../../../../stores/ChannelStore"; import { useStateFromStores } from "../../../../_bundle/defaultAreStatesEqual"; import { useDismissModalCallback, AlertActionButton } from "../../../../design/components/AlertModal/native/AlertModal.native"; import { AlertModal } from "../../../../design/components/AlertModal/native/AlertModal.native"; import VoicePanelLockedIcon from "./VoicePanelLockedIcon"; import { intl, t } from "../../../../intl/index.native"; export default function VoicePanelMaxCapacityAlert(props) { const channelId = props.channelId; const stateFromStores = useStateFromStores([ChannelStore], () => { let r9 = ChannelStore.getChannel(channelId)?.userLimit; if (r9 == null) { r9 = 0; } return r9; }, [channelId]); const dismissModalCallback = useDismissModalCallback(); return } title={intl.string(t.hHbsQj)} content={intl.formatToPlainString(t["387SQH"], { count: stateFromStores })} actions={} />; }; export const VOICE_PANEL_MAX_CAPACITY_KEY = "voice-panel-max-capacity";