|
|
|
@ -18,8 +18,10 @@ import ReplyAllIcon from '@/material-icons/400-24px/reply_all.svg?react';
|
|
|
|
|
import StarIcon from '@/material-icons/400-24px/star-fill.svg?react';
|
|
|
|
|
import StarBorderIcon from '@/material-icons/400-24px/star.svg?react';
|
|
|
|
|
import VisibilityIcon from '@/material-icons/400-24px/visibility.svg?react';
|
|
|
|
|
import RepeatActiveIcon from '@/svg-icons/repeat_active.svg?react';
|
|
|
|
|
import RepeatDisabledIcon from '@/svg-icons/repeat_disabled.svg?react';
|
|
|
|
|
import RepeatPrivateIcon from '@/svg-icons/repeat_private.svg?react';
|
|
|
|
|
import RepeatPrivateActiveIcon from '@/svg-icons/repeat_private_active.svg?react';
|
|
|
|
|
import { PERMISSION_MANAGE_USERS, PERMISSION_MANAGE_FEDERATION } from 'mastodon/permissions';
|
|
|
|
|
import { WithRouterPropTypes } from 'mastodon/utils/react_router';
|
|
|
|
|
|
|
|
|
@ -366,7 +368,7 @@ class StatusActionBar extends ImmutablePureComponent {
|
|
|
|
|
|
|
|
|
|
if (status.get('reblogged')) {
|
|
|
|
|
reblogTitle = intl.formatMessage(messages.cancel_reblog_private);
|
|
|
|
|
reblogIconComponent = publicStatus ? RepeatIcon : RepeatPrivateIcon;
|
|
|
|
|
reblogIconComponent = publicStatus ? RepeatActiveIcon : RepeatPrivateActiveIcon;
|
|
|
|
|
} else if (publicStatus) {
|
|
|
|
|
reblogTitle = intl.formatMessage(messages.reblog);
|
|
|
|
|
reblogIconComponent = RepeatIcon;
|
|
|
|
|