Rename dialog
This commit is contained in:
@@ -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}
|
||||
|
||||
+1
-1
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user