ref(design) Update icons (#12489)

Remove unused icons
Remove fill none from icons
Rename some icons
This commit is contained in:
Robert Pintilii
2022-11-08 12:24:32 +02:00
committed by GitHub
parent f4e8f860b1
commit 936a1a6b0e
323 changed files with 631 additions and 1074 deletions

View File

@@ -3,7 +3,7 @@
import React from 'react';
import { translate } from '../../../base/i18n';
import { Icon, IconCancelSelection } from '../../../base/icons';
import { Icon, IconCloseCircle } from '../../../base/icons';
import { connect } from '../../../base/redux';
import AbstractMessageRecipient, {
type Props,
@@ -40,7 +40,7 @@ class MessageRecipient extends AbstractMessageRecipient<Props> {
_onKeyPress(e) {
if (
(this.props._onRemovePrivateMessageRecipient || this.props._onHideLobbyChatRecipient)
&& (e.key === ' ' || e.key === 'Enter')
&& (e.key === ' ' || e.key === 'Enter')
) {
e.preventDefault();
if (this.props._isLobbyChatActive && this.props._onHideLobbyChatRecipient) {
@@ -84,7 +84,7 @@ class MessageRecipient extends AbstractMessageRecipient<Props> {
role = 'button'
tabIndex = { 0 }>
<Icon
src = { IconCancelSelection } />
src = { IconCloseCircle } />
</div>
</div>
);