From 74ce2923e427d7fd43ea1a622e1387d82ca82ff7 Mon Sep 17 00:00:00 2001 From: Rye Date: Thu, 12 Mar 2026 23:20:23 +0100 Subject: [PATCH] add tombstone setting toggle title for improved user guidance --- src/app/features/settings/general/General.tsx | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx index 5e5f76ae..fd0d9d70 100644 --- a/src/app/features/settings/general/General.tsx +++ b/src/app/features/settings/general/General.tsx @@ -385,6 +385,16 @@ function SelectDateFormat() { ); } +function getTombstoneSettingToggleTitle(showHidden: boolean, showTombstone: boolean): string { + if (showHidden) { + return 'Tombstone events are always shown when "Show Hidden Events" is enabled.'; + } + if (showTombstone) { + return 'Disable to hide redacted messages entirely instead of showing a tombstone.'; + } + return 'Enable to show tombstone events for redacted messages instead of hiding them entirely.'; +} + function DateAndTime() { const [hour24Clock, setHour24Clock] = useSetting(settingsAtom, 'hour24Clock'); @@ -928,7 +938,16 @@ function Messages() { +