From e5a678dee8810936bec20bb06e9d134b6eb537e0 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 9 Aug 2024 15:32:52 -0500 Subject: [PATCH] Rename dialog --- src/components/WhoCanReply.tsx | 4 ++-- ...ThreadgateEditor.tsx => PostInteractionSettingsDialog.tsx} | 2 +- src/view/com/composer/threadgate/ThreadgateBtn.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/components/dialogs/{ThreadgateEditor.tsx => PostInteractionSettingsDialog.tsx} (99%) diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx index cb2f801766..0a777dd4a9 100644 --- a/src/components/WhoCanReply.tsx +++ b/src/components/WhoCanReply.tsx @@ -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({ {isThreadAuthor ? ( - void } -export function ThreadgateEditorDialog({ +export function PostInteractionSettingsDialog({ control, ...rest }: Props & { diff --git a/src/view/com/composer/threadgate/ThreadgateBtn.tsx b/src/view/com/composer/threadgate/ThreadgateBtn.tsx index cdd8ec7eef..8a0aee687c 100644 --- a/src/view/com/composer/threadgate/ThreadgateBtn.tsx +++ b/src/view/com/composer/threadgate/ThreadgateBtn.tsx @@ -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({ {label} - {