Rename dialog

This commit is contained in:
Eric Bailey
2024-08-09 15:32:52 -05:00
parent 8fa02dda80
commit e5a678dee8
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ import {Earth_Stroke2_Corner0_Rounded as Earth} from '#/components/icons/Globe'
import {Group3_Stroke2_Corner0_Rounded as Group} from '#/components/icons/Group'
import {Text} from '#/components/Typography'
import {TextLink} from '../view/com/util/Link'
import {ThreadgateEditorDialog} from './dialogs/ThreadgateEditor'
import {PostInteractionSettingsDialog} from './dialogs/PostInteractionSettingsDialog'
import {PencilLine_Stroke2_Corner0_Rounded as PencilLine} from './icons/Pencil'
interface WhoCanReplyProps {
@@ -217,7 +217,7 @@ export function WhoCanReply({
</Button>
{isThreadAuthor ? (
<ThreadgateEditorDialog
<PostInteractionSettingsDialog
onSave={onSave}
isSaving={isSaving}
postgate={postgate}
@@ -30,7 +30,7 @@ type Props = {
onChangeThreadgateAllowUISettings: (v: ThreadgateAllowUISetting[]) => void
}
export function ThreadgateEditorDialog({
export function PostInteractionSettingsDialog({
control,
...rest
}: Props & {
@@ -12,7 +12,7 @@ import {useAnalytics} from 'lib/analytics/analytics'
import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import * as Dialog from '#/components/Dialog'
import {ThreadgateEditorDialog} from '#/components/dialogs/ThreadgateEditor'
import {PostInteractionSettingsDialog} from '#/components/dialogs/PostInteractionSettingsDialog'
import {CircleBanSign_Stroke2_Corner0_Rounded as CircleBanSign} from '#/components/icons/CircleBanSign'
import {Earth_Stroke2_Corner0_Rounded as Earth} from '#/components/icons/Globe'
import {Group3_Stroke2_Corner0_Rounded as Group} from '#/components/icons/Group'
@@ -90,7 +90,7 @@ export function ThreadgateBtn({
<ButtonText>{label}</ButtonText>
</Button>
</Animated.View>
<ThreadgateEditorDialog
<PostInteractionSettingsDialog
control={control}
isSaving={false}
onSave={() => {