1
0

fix: icon problem

This commit is contained in:
オスカー、 2024-04-08 13:32:42 +09:00
parent 5c5fd00179
commit ed4fa17db5
No known key found for this signature in database
GPG Key ID: B1EFBBF5C93FF78F
2 changed files with 4 additions and 4 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.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}

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.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' : ''}