File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 11import type { IRoom } from '@rocket.chat/core-typings' ;
2- import colors from '@rocket.chat/fuselage-tokens/colors.json' ;
32import { HeaderState } from '@rocket.chat/ui-client' ;
43import { useSetting } from '@rocket.chat/ui-contexts' ;
54import { memo } from 'react' ;
@@ -8,7 +7,7 @@ import { useTranslation } from 'react-i18next';
87const Encrypted = ( { room } : { room : IRoom } ) => {
98 const { t } = useTranslation ( ) ;
109 const e2eEnabled = useSetting ( 'E2E_Enable' ) ;
11- return e2eEnabled && room ?. encrypted ? < HeaderState title = { t ( 'Encrypted' ) } icon = 'key' color = { colors . g500 } /> : null ;
10+ return e2eEnabled && room ?. encrypted ? < HeaderState title = { t ( 'Encrypted' ) } icon = 'key' color = 'status-font-on-success' /> : null ;
1211} ;
1312
1413export default memo ( Encrypted ) ;
You can’t perform that action at this time.
0 commit comments