Group Chat Settings: Add description for history checkbox (#5272)
This commit is contained in:
parent
afe9582b3a
commit
7fd8062f1a
@ -445,6 +445,9 @@ const ManageGroup: FC<OwnProps & StateProps> = ({
|
|||||||
checked={!chatFullInfo.isPreHistoryHidden}
|
checked={!chatFullInfo.isPreHistoryHidden}
|
||||||
label={lang('ChatHistory')}
|
label={lang('ChatHistory')}
|
||||||
onChange={handleTogglePreHistory}
|
onChange={handleTogglePreHistory}
|
||||||
|
subLabel={
|
||||||
|
chatFullInfo.isPreHistoryHidden ? lang('ChatHistoryHiddenInfo2') : lang('ChatHistoryVisibleInfo')
|
||||||
|
}
|
||||||
disabled={!canBanUsers}
|
disabled={!canBanUsers}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user