Fix pinned status icon in status action bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
c2757f27c6
commit
8903674cb1
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ const StatusActionBar: React.FC<IStatusActionBar> = ({
|
||||||
menu.push({
|
menu.push({
|
||||||
text: intl.formatMessage(status.pinned ? messages.unpin : messages.pin),
|
text: intl.formatMessage(status.pinned ? messages.unpin : messages.pin),
|
||||||
action: handlePinClick,
|
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 {
|
} else {
|
||||||
if (status.visibility === 'private') {
|
if (status.visibility === 'private') {
|
||||||
|
|
Loading…
Reference in a new issue