From 7fd8062f1a20f86d30d3419f63d41f624ff8c7be Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 6 Dec 2024 19:43:51 +0400 Subject: [PATCH] Group Chat Settings: Add description for history checkbox (#5272) --- src/components/right/management/ManageGroup.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/right/management/ManageGroup.tsx b/src/components/right/management/ManageGroup.tsx index 020beea27..823a43e5e 100644 --- a/src/components/right/management/ManageGroup.tsx +++ b/src/components/right/management/ManageGroup.tsx @@ -445,6 +445,9 @@ const ManageGroup: FC = ({ checked={!chatFullInfo.isPreHistoryHidden} label={lang('ChatHistory')} onChange={handleTogglePreHistory} + subLabel={ + chatFullInfo.isPreHistoryHidden ? lang('ChatHistoryHiddenInfo2') : lang('ChatHistoryVisibleInfo') + } disabled={!canBanUsers} />