From c82384b0417f5adf0c273c00a1b7586e7b35b37e Mon Sep 17 00:00:00 2001 From: 7w1 Date: Mon, 23 Mar 2026 23:27:40 -0500 Subject: [PATCH] Add title properties to settings toggles --- src/app/features/settings/general/General.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx index 3a7d6879..9f8a81ee 100644 --- a/src/app/features/settings/general/General.tsx +++ b/src/app/features/settings/general/General.tsx @@ -971,7 +971,12 @@ function Messages() { title="Client Side Embeds" description="Attempt to preview unsupported urls (e.g. YouTube) on the client, without involving the homeserver. This will expose your IP Address to third party services." after={ - + } /> @@ -988,6 +993,11 @@ function Messages() { variant="Primary" value={encClientUrlPreview} onChange={setEncClientUrlPreview} + title={ + encClientUrlPreview + ? 'Disable client-side embeds in encrypted rooms' + : 'Enable client-side embeds in encrypted rooms' + } /> } /> @@ -1005,6 +1015,11 @@ function Messages() { variant="Primary" value={clientPreviewYoutube} onChange={setClientPreviewYoutube} + title={ + clientPreviewYoutube + ? 'Disable client-side Youtube video embeds' + : 'Enable client-side Youtube video embeds' + } /> } />