mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-55112] Replace usage of LocalizedIcon in 'user_settings_notifications.tsx' with i/span tags (#25264)
This commit is contained in:
@@ -17,12 +17,10 @@ import type {UserNotifyProps, UserProfile} from '@mattermost/types/users';
|
||||
import type {ActionResult} from 'mattermost-redux/types/actions';
|
||||
|
||||
import ExternalLink from 'components/external_link';
|
||||
import LocalizedIcon from 'components/localized_icon';
|
||||
import SettingItem from 'components/setting_item';
|
||||
import SettingItemMax from 'components/setting_item_max';
|
||||
|
||||
import Constants, {NotificationLevels} from 'utils/constants';
|
||||
import {t} from 'utils/i18n';
|
||||
import {stopTryNotificationRing} from 'utils/notification_sounds';
|
||||
import {a11yFocus} from 'utils/utils';
|
||||
|
||||
@@ -1068,12 +1066,12 @@ class NotificationsTab extends React.PureComponent<Props, State> {
|
||||
ref={this.drawerRef}
|
||||
>
|
||||
<div className='modal-back'>
|
||||
<LocalizedIcon
|
||||
<i
|
||||
className='fa fa-angle-left'
|
||||
ariaLabel={{
|
||||
id: t('generic_icons.collapse'),
|
||||
aria-label={this.props.intl.formatMessage({
|
||||
id: 'generic_icons.collapse',
|
||||
defaultMessage: 'Collapse Icon',
|
||||
}}
|
||||
})}
|
||||
onClick={this.props.collapseModal}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user