Update Wrapstodon design (#37169)
This commit is contained in:
1 parent
ac71771d98
commit
9d81561bb2
24 files changed
+773
-677
No files matched your search
@@ -117,6 +117,7 @@ class Status extends ImmutablePureComponent {
|
||||
hidden: PropTypes.bool,
|
||||
unread: PropTypes.bool,
|
||||
showThread: PropTypes.bool,
|
||||
showActions: PropTypes.bool,
|
||||
isQuotedPost: PropTypes.bool,
|
||||
shouldHighlightOnMount: PropTypes.bool,
|
||||
getScrollPosition: PropTypes.func,
|
||||
@@ -381,7 +382,7 @@ class Status extends ImmutablePureComponent {
|
||||
};
|
||||
|
||||
render () {
|
||||
const { intl, hidden, featured, unfocusable, unread, showThread, isQuotedPost = false, scrollKey, pictureInPicture, previousId, nextInReplyToId, rootId, skipPrepend, avatarSize = 46, children } = this.props;
|
||||
const { intl, hidden, featured, unfocusable, unread, showThread, showActions = true, isQuotedPost = false, scrollKey, pictureInPicture, previousId, nextInReplyToId, rootId, skipPrepend, avatarSize = 46, children } = this.props;
|
||||
|
||||
let { status, account, ...other } = this.props;
|
||||
|
||||
@@ -618,7 +619,7 @@ class Status extends ImmutablePureComponent {
|
||||
</>
|
||||
)}
|
||||
|
||||
{!isQuotedPost &&
|
||||
{(showActions && !isQuotedPost) &&
|
||||
<StatusActionBar scrollKey={scrollKey} status={status} account={account} {...other} />
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user