Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork

Redraft prompt warning

Now live, even though this feature could be unstable 😊

xan.lol 55df7529 29ac7b4b

verified
Changed files
+4 -4
src
components
PostControls
+4 -4
src/components/PostControls/PostMenu/PostMenuItems.tsx
··· 9 9 import { 10 10 type AppBskyEmbedExternal, 11 11 type AppBskyEmbedImages, 12 + AppBskyEmbedRecord, 12 13 type AppBskyEmbedRecordWithMedia, 13 14 type AppBskyEmbedVideo, 14 15 type AppBskyFeedDefs, ··· 16 17 type AppBskyFeedThreadgate, 17 18 AtUri, 18 19 type RichText as RichTextAPI, 19 - AppBskyEmbedRecord, 20 20 } from '@atproto/api' 21 21 import {msg} from '@lingui/macro' 22 22 import {useLingui} from '@lingui/react' 23 23 import {useNavigation} from '@react-navigation/native' 24 24 25 25 import {DISCOVER_DEBUG_DIDS} from '#/lib/constants' 26 + import {useOpenComposer} from '#/lib/hooks/useOpenComposer' 26 27 import {useOpenLink} from '#/lib/hooks/useOpenLink' 27 28 import {useTranslate} from '#/lib/hooks/useTranslate' 28 29 import {saveVideoToMediaLibrary} from '#/lib/media/manip' ··· 81 82 import {Eye_Stroke2_Corner0_Rounded as Eye} from '#/components/icons/Eye' 82 83 import {EyeSlash_Stroke2_Corner0_Rounded as EyeSlash} from '#/components/icons/EyeSlash' 83 84 import {Filter_Stroke2_Corner0_Rounded as Filter} from '#/components/icons/Filter' 84 - import {Pencil_Stroke2_Corner0_Rounded as Pen} from '#/components/icons/Pencil' 85 85 import {Mute_Stroke2_Corner0_Rounded as MuteIcon} from '#/components/icons/Mute' 86 86 import {Mute_Stroke2_Corner0_Rounded as Mute} from '#/components/icons/Mute' 87 + import {Pencil_Stroke2_Corner0_Rounded as Pen} from '#/components/icons/Pencil' 87 88 import {PersonX_Stroke2_Corner0_Rounded as PersonX} from '#/components/icons/Person' 88 89 import {Pin_Stroke2_Corner0_Rounded as PinIcon} from '#/components/icons/Pin' 89 90 import {SettingsGear2_Stroke2_Corner0_Rounded as Gear} from '#/components/icons/SettingsGear2' ··· 99 100 } from '#/components/moderation/ReportDialog' 100 101 import * as Prompt from '#/components/Prompt' 101 102 import {IS_INTERNAL} from '#/env' 102 - import {useOpenComposer} from '#/lib/hooks/useOpenComposer' 103 103 import * as bsky from '#/types/bsky' 104 104 105 105 let PostMenuItems = ({ ··· 606 606 control={redraftPromptControl} 607 607 title={_(msg`Redraft this skeet?`)} 608 608 description={_( 609 - msg`This will delete the original skeet and open the composer with its content.`, 609 + msg`This will delete the original skeet and open the composer with its content. (WARNING: DOESN'T WORK ON SKEETS WITH MEDIA ALREADY ATTACHED. Probably no threads support either.)`, 610 610 )} 611 611 onConfirm={onConfirmRedraft} 612 612 confirmButtonCta={_(msg`Redraft`)}