From 7777864f8fb490db3644dd220c7612aa8bb8aec3 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 6 Feb 2025 09:30:58 -0600 Subject: [PATCH] Less in your face --- .../dialogs/PostInteractionSettingsDialog.tsx | 37 ++++++++----------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index f29f0ca91f..27b94d7512 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -7,7 +7,6 @@ import {useQueryClient} from '@tanstack/react-query' import isEqual from 'lodash.isequal' import {logger} from '#/logger' -import {isWeb} from '#/platform/detection' import {STALE} from '#/state/queries' import {useMyListsQuery} from '#/state/queries/my-lists' import { @@ -31,14 +30,12 @@ import { import {useAgent, useSession} from '#/state/session' import * as Toast from '#/view/com/util/Toast' import {atoms as a, useTheme} from '#/alf' -import {Admonition} from '#/components/Admonition' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import {Divider} from '#/components/Divider' import * as Toggle from '#/components/forms/Toggle' import {Check_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Check' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' -import {InlineLinkText} from '#/components/Link' import {Loader} from '#/components/Loader' import {Text} from '#/components/Typography' @@ -62,6 +59,7 @@ export function PostInteractionSettingsControlledDialog({ }: PostInteractionSettingsFormProps & { control: Dialog.DialogControlProps }) { + const t = useTheme() const {_} = useLingui() return ( @@ -73,25 +71,20 @@ export function PostInteractionSettingsControlledDialog({
- - {isWeb ? ( - - You can configure defaults for these settings from within your{' '} - - moderation settings screen. - - - ) : ( - - You can configure defaults for these settings from within{' '} - - Settings → Moderation → Interaction settings - - - )} - + + + You can configure defaults for these settings in{' '} + + Settings → Moderation → Interaction settings. + + +