1
0

fix: icon problem

This commit is contained in:
オスカー、 2024-04-08 13:39:19 +09:00
parent ed4fa17db5
commit ee347cbd3a
No known key found for this signature in database
GPG Key ID: B1EFBBF5C93FF78F
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ import { Helmet } from 'react-helmet';
import { useDispatch } from 'react-redux';
import MailIcon from '@/material-icons/400-24px/mail_outline.svg?react';
import AlternateEmailIcon from '@/material-icons/400-24px/alternate_email.svg';
import { addColumn, removeColumn, moveColumn } from 'mastodon/actions/columns';
import { mountConversations, unmountConversations, expandConversations } from 'mastodon/actions/conversations';
import { connectDirectStream } from 'mastodon/actions/streaming';
@ -57,8 +57,8 @@ const DirectTimeline = ({ columnId, multiColumn }) => {
return (
<Column bindToDocument={!multiColumn} ref={columnRef} label={intl.formatMessage(messages.title)}>
<ColumnHeader
icon='mail_outline'
iconComponent={MailIcon}
icon='alternate_email'
iconComponent={AlternateEmailIcon}
title={intl.formatMessage(messages.title)}
onPin={handlePin}
onMove={handleMove}

View File

@ -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_outline.svg?react';
import AlternateEmailIcon from '@/material-icons/400-24px/alternate_email.svg';
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_outline' icon={MailIcon} />
<Icon id='mail_outline' icon={AlternateEmailIcon} />
</button>
<button
className={selectedFilter === 'favourite' ? 'active' : ''}