From 21dc027776bd1e29acb92392cdead6263b407ebf Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 18 Aug 2025 19:00:56 -0500 Subject: [PATCH] Add underage notice to Moderation screen --- src/screens/Moderation/index.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/screens/Moderation/index.tsx b/src/screens/Moderation/index.tsx index 1517792a19..bb4cf98209 100644 --- a/src/screens/Moderation/index.tsx +++ b/src/screens/Moderation/index.tsx @@ -22,6 +22,7 @@ import { import {isNonConfigurableModerationAuthority} from '#/state/session/additional-moderation-authorities' import {useSetMinimalShellMode} from '#/state/shell' import {atoms as a, useBreakpoints, useTheme, type ViewStyleProp} from '#/alf' +import {Admonition} from '#/components/Admonition' import {AgeAssuranceAdmonition} from '#/components/ageAssurance/AgeAssuranceAdmonition' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' @@ -201,6 +202,24 @@ export function ModerationScreenInner({ return ( + {isDeclaredUnderage && ( + + + + Your declared age is under 18. Some settings below may be + disabled. If this was a mistake, you may edit your bithdate in + your{' '} + + account settings + + . + + + + )} + Moderation tools