import React from 'react' import {View} from 'react-native' import {Image} from 'expo-image' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import {useNuxDialogContext} from '#/components/dialogs/nuxs' import {image} from '#/components/dialogs/nuxs/temp' import {Text} from '#/components/Typography' // midnight PDT on April 1st, 2025 export const EXPIRY = new Date('2025-04-02T07:00:00Z') export function isEnabled() { return new Date() < EXPIRY } export function NeueChar() { const t = useTheme() const {_} = useLingui() const nuxDialogs = useNuxDialogContext() const control = Dialog.useDialogControl() const {gtMobile} = useBreakpoints() Dialog.useAutoOpen(control, 3e3) const onClose = React.useCallback(() => { nuxDialogs.dismissActiveNux() }, [nuxDialogs]) return ( {_( {/* approx the height of the main image - not quite accurate, since the image excludes the padding. but if you inspect element, it turns out to be close enough */} New character limit ๐ŸŽ‰ Weโ€™re listening to your feedback and updating the character count. Posts are now limited to 299 characters! For a limited time โ€” just today ;) {!gtMobile && ( )} ) }