From 50d534f71b138821f4bab4976bb245265b6018ad Mon Sep 17 00:00:00 2001 From: Sanjay Sargam Date: Thu, 1 Feb 2024 18:59:45 +0530 Subject: [PATCH] chore: improve encrypted button on create discussion view (#5466) Co-authored-by: Gleidson Daniel Silva --- app/views/CreateDiscussionView/index.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/CreateDiscussionView/index.tsx b/app/views/CreateDiscussionView/index.tsx index 9ce8e1fbe..af59b3150 100644 --- a/app/views/CreateDiscussionView/index.tsx +++ b/app/views/CreateDiscussionView/index.tsx @@ -23,6 +23,7 @@ import { ICreateChannelViewProps, IResult, IError, ICreateChannelViewState } fro import { IApplicationState, ISearchLocal, ISubscription } from '../../definitions'; import { E2E_ROOM_TYPES, SWITCH_TRACK_COLOR, themes } from '../../lib/constants'; import { getRoomTitle, showErrorAlert } from '../../lib/methods/helpers'; +import * as List from '../../containers/List'; class CreateChannelView extends React.Component { private channel: ISubscription; @@ -180,8 +181,13 @@ class CreateChannelView extends React.Component {this.isEncryptionEnabled ? ( <> - {I18n.t('Encrypted')} - + ( + + )} + /> ) : null}