|
|
|
@ -17,8 +17,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';
|
|
|
|
|
import RepeatPrivateIcon from '@/svg-icons/repeat_private.svg';
|
|
|
|
|
import RepeatPrivateActiveIcon from '@/svg-icons/repeat_private_active.svg?react';
|
|
|
|
|
import { PERMISSION_MANAGE_USERS, PERMISSION_MANAGE_FEDERATION } from 'flavours/glitch/permissions';
|
|
|
|
|
import { accountAdminLink, statusAdminLink } from 'flavours/glitch/utils/backend_links';
|
|
|
|
|
import { WithRouterPropTypes } from 'flavours/glitch/utils/react_router';
|
|
|
|
@ -303,7 +305,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;
|
|
|
|
|