fix: icon problem
This commit is contained in:
parent
5c5fd00179
commit
ed4fa17db5
@ -7,7 +7,7 @@ import { Helmet } from 'react-helmet';
|
||||
|
||||
import { useDispatch } from 'react-redux';
|
||||
|
||||
import MailIcon from '@/material-icons/400-24px/mail.svg?react';
|
||||
import MailIcon from '@/material-icons/400-24px/mail_outline.svg?react';
|
||||
import { addColumn, removeColumn, moveColumn } from 'mastodon/actions/columns';
|
||||
import { mountConversations, unmountConversations, expandConversations } from 'mastodon/actions/conversations';
|
||||
import { connectDirectStream } from 'mastodon/actions/streaming';
|
||||
@ -57,7 +57,7 @@ const DirectTimeline = ({ columnId, multiColumn }) => {
|
||||
return (
|
||||
<Column bindToDocument={!multiColumn} ref={columnRef} label={intl.formatMessage(messages.title)}>
|
||||
<ColumnHeader
|
||||
icon='mail'
|
||||
icon='mail_outline'
|
||||
iconComponent={MailIcon}
|
||||
title={intl.formatMessage(messages.title)}
|
||||
onPin={handlePin}
|
||||
|
@ -9,7 +9,7 @@ import PersonAddIcon from '@/material-icons/400-24px/person_add.svg?react';
|
||||
import RepeatIcon from '@/material-icons/400-24px/repeat.svg?react';
|
||||
import ReplyAllIcon from '@/material-icons/400-24px/reply_all.svg?react';
|
||||
import StarIcon from '@/material-icons/400-24px/star.svg?react';
|
||||
import MailIcon from '@/material-icons/400-24px/mail.svg?react';
|
||||
import MailIcon from '@/material-icons/400-24px/mail_outline.svg?react';
|
||||
import { Icon } from 'mastodon/components/icon';
|
||||
|
||||
const tooltips = defineMessages({
|
||||
@ -81,7 +81,7 @@ class FilterBar extends PureComponent {
|
||||
onClick={this.onClick('direct')}
|
||||
title={intl.formatMessage(tooltips.direct)}
|
||||
>
|
||||
<Icon id='mail' icon={MailIcon} />
|
||||
<Icon id='mail_outline' icon={MailIcon} />
|
||||
</button>
|
||||
<button
|
||||
className={selectedFilter === 'favourite' ? 'active' : ''}
|
||||
|
Loading…
Reference in New Issue
Block a user