From 690926dd90bde4c5d53da826be11ef138b65c909 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 22 May 2024 15:52:04 +0100 Subject: [PATCH] Add note to clarify "allow new messages from" setting (#4166) --- src/screens/Messages/Settings.tsx | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/screens/Messages/Settings.tsx b/src/screens/Messages/Settings.tsx index a27c961f..2de355e0 100644 --- a/src/screens/Messages/Settings.tsx +++ b/src/screens/Messages/Settings.tsx @@ -12,7 +12,7 @@ import {useSession} from '#/state/session' import * as Toast from '#/view/com/util/Toast' import {ViewHeader} from '#/view/com/util/ViewHeader' import {CenteredView} from '#/view/com/util/Views' -import {atoms as a} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {Divider} from '#/components/Divider' import * as Toggle from '#/components/forms/Toggle' import {Text} from '#/components/Typography' @@ -23,6 +23,7 @@ type AllowIncoming = 'all' | 'none' | 'following' type Props = NativeStackScreenProps export function MessagesSettingsScreen({}: Props) { const {_} = useLingui() + const t = useTheme() const {currentAccount} = useSession() const {data: profile} = useProfileQuery({ did: currentAccount!.did, @@ -58,10 +59,10 @@ export function MessagesSettingsScreen({}: Props) { - Allow messages from + Allow new messages from + + + + You can continue ongoing conversations regardless of which setting + you choose. + + + {isNative && ( <> - + Notification Sounds