diff --git a/app/javascript/mastodon/features/circles/index.jsx b/app/javascript/mastodon/features/circles/index.jsx index 4dc5ae41b9..9ee5343dc3 100644 --- a/app/javascript/mastodon/features/circles/index.jsx +++ b/app/javascript/mastodon/features/circles/index.jsx @@ -9,6 +9,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; +import { ReactComponent as CirclesIcon } from '@material-symbols/svg-600/outlined/account_circle-fill.svg'; import { ReactComponent as CircleIcon } from '@material-symbols/svg-600/outlined/account_circle.svg'; import { fetchCircles, deleteCircle } from 'mastodon/actions/circles'; @@ -96,7 +97,7 @@ class Circles extends ImmutablePureComponent { return ( - + diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.jsx b/app/javascript/mastodon/features/compose/components/privacy_dropdown.jsx index 38e5e69b24..4cd898f2aa 100644 --- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.jsx +++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.jsx @@ -249,6 +249,13 @@ class PrivacyDropdown extends PureComponent { { icon: 'exchange', iconComponent: MutualIcon, value: 'mutual', text: formatMessage(messages.mutual_short), meta: formatMessage(messages.mutual_long) }, { icon: 'user-circle', iconComponent: CircleIcon, value: 'circle', text: formatMessage(messages.circle_short), meta: formatMessage(messages.circle_long) }, ]; + + if (!this.props.noDirect) { + this.options.push( + { icon: 'at', iconComponent: AlternateEmailIcon, value: 'direct', text: formatMessage(messages.direct_short), meta: formatMessage(messages.direct_long) }, + ); + } + this.selectableOptions = [...this.options]; if (!enableLoginPrivacy) { @@ -258,12 +265,6 @@ class PrivacyDropdown extends PureComponent { if (!enableLocalPrivacy) { this.selectableOptions = this.selectableOptions.filter((opt) => opt.value !== 'public_unlisted'); } - - if (!this.props.noDirect) { - this.options.push( - { icon: 'at', iconComponent: AlternateEmailIcon, value: 'direct', text: formatMessage(messages.direct_short), meta: formatMessage(messages.direct_long) }, - ); - } } setTargetRef = c => { diff --git a/app/javascript/mastodon/features/getting_started/index.jsx b/app/javascript/mastodon/features/getting_started/index.jsx index 93ebd85b9f..6a73323ce9 100644 --- a/app/javascript/mastodon/features/getting_started/index.jsx +++ b/app/javascript/mastodon/features/getting_started/index.jsx @@ -9,7 +9,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; -import { ReactComponent as CircleIcon } from '@material-symbols/svg-600/outlined/account_circle.svg'; +import { ReactComponent as CirclesIcon } from '@material-symbols/svg-600/outlined/account_circle-fill.svg'; import { ReactComponent as AlternateEmailIcon } from '@material-symbols/svg-600/outlined/alternate_email.svg'; import { ReactComponent as BookmarksIcon } from '@material-symbols/svg-600/outlined/bookmarks-fill.svg'; import { ReactComponent as PeopleIcon } from '@material-symbols/svg-600/outlined/group.svg'; @@ -135,7 +135,7 @@ class GettingStarted extends ImmutablePureComponent { , , , - , + , ); if (myAccount.get('locked') || unreadFollowRequests > 0) { diff --git a/app/javascript/mastodon/features/list_timeline/index.jsx b/app/javascript/mastodon/features/list_timeline/index.jsx index 905d6a59d7..bebbe1574b 100644 --- a/app/javascript/mastodon/features/list_timeline/index.jsx +++ b/app/javascript/mastodon/features/list_timeline/index.jsx @@ -238,7 +238,7 @@ class ListTimeline extends PureComponent { { antennas.map(antenna => (
  • ))} diff --git a/app/javascript/mastodon/features/onboarding/index.jsx b/app/javascript/mastodon/features/onboarding/index.jsx index 96bc15481e..a22fcabc2c 100644 --- a/app/javascript/mastodon/features/onboarding/index.jsx +++ b/app/javascript/mastodon/features/onboarding/index.jsx @@ -22,7 +22,7 @@ import { focusCompose } from 'mastodon/actions/compose'; import { closeOnboarding } from 'mastodon/actions/onboarding'; import { Icon } from 'mastodon/components/icon'; import Column from 'mastodon/features/ui/components/column'; -import { me } from 'mastodon/initial_state'; +import { enableLocalTimeline, me } from 'mastodon/initial_state'; import { makeGetAccount } from 'mastodon/selectors'; import { assetHost } from 'mastodon/utils/config'; import { WithRouterPropTypes } from 'mastodon/utils/react_router'; @@ -132,9 +132,12 @@ class Onboarding extends ImmutablePureComponent { - - - + {enableLocalTimeline && ( + + + + + )} diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.jsx b/app/javascript/mastodon/features/ui/components/navigation_panel.jsx index 2b32ee2020..c602bd07b5 100644 --- a/app/javascript/mastodon/features/ui/components/navigation_panel.jsx +++ b/app/javascript/mastodon/features/ui/components/navigation_panel.jsx @@ -5,7 +5,7 @@ import { defineMessages, injectIntl } from 'react-intl'; import { Link } from 'react-router-dom'; -import { ReactComponent as CircleIcon } from '@material-symbols/svg-600/outlined/account_circle.svg'; +import { ReactComponent as CirclesIcon } from '@material-symbols/svg-600/outlined/account_circle-fill.svg'; import { ReactComponent as AlternateEmailIcon } from '@material-symbols/svg-600/outlined/alternate_email.svg'; import { ReactComponent as BookmarksIcon } from '@material-symbols/svg-600/outlined/bookmarks-fill.svg'; import { ReactComponent as PeopleIcon } from '@material-symbols/svg-600/outlined/group.svg'; @@ -140,7 +140,7 @@ class NavigationPanel extends Component { <> - +