diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index cd3c0ee8..e0be14cf 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -327,6 +327,7 @@ "reblog": "Reblog", "fav": "Favourite", "detail": "Toot details", + "bookmark": "Add bookmark", "pinned": "Pinned toot", "poll": { "vote": "Vote", diff --git a/src/renderer/components/organisms/Toot.vue b/src/renderer/components/organisms/Toot.vue index c1b5eab1..c5c4e81f 100644 --- a/src/renderer/components/organisms/Toot.vue +++ b/src/renderer/components/organisms/Toot.vue @@ -167,6 +167,15 @@ {{ favouritesCount }} + + + @@ -305,6 +314,9 @@ export default { sns: state => state.sns, account: state => state.account }), + ...mapState('TimelineSpace/SideMenu', { + bookmarkSupported: state => state.enabledTimelines.bookmark + }), shortcutEnabled: function () { return this.focused && !this.overlaid && !this.openEmojiPicker }, @@ -896,6 +908,15 @@ export default { margin: 0 0 4px -8px; } + .bookmark { + margin: 0 0 0 8px; + } + + .bookmarked { + margin: 0 0 0 8px; + color: #ff5050; + } + .pinned { color: gold; }