Merge branch 'pinned-icon' into 'develop'

Fix pinned status icon in status action bar

See merge request soapbox-pub/soapbox!1818
This commit is contained in:
marcin mikołajczak 2022-10-05 22:58:17 +00:00
commit 6451a726e4

View file

@ -374,7 +374,7 @@ const StatusActionBar: React.FC<IStatusActionBar> = ({
menu.push({
text: intl.formatMessage(status.pinned ? messages.unpin : messages.pin),
action: handlePinClick,
icon: mutingConversation ? require('@tabler/icons/pinned-off.svg') : require('@tabler/icons/pin.svg'),
icon: status.pinned ? require('@tabler/icons/pinned-off.svg') : require('@tabler/icons/pin.svg'),
});
} else {
if (status.visibility === 'private') {