From 6a81aa274533b6af1f2514508f6f9fa3b0795c9f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 5 Aug 2018 05:18:04 +0300 Subject: added ability to pick the style of highlighting --- src/components/status/status.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/components/status') diff --git a/src/components/status/status.js b/src/components/status/status.js index 2b5bcb55..3a9363ab 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -47,14 +47,12 @@ const Status = { repeaterStyle () { const user = this.statusoid.user const highlight = this.$store.state.config.highlight - const color = highlight[user.screen_name] - return highlightStyle(color) + return highlightStyle(highlight[user.screen_name]) }, userStyle () { const user = this.retweet ? (this.statusoid.retweeted_status.user) : this.statusoid.user const highlight = this.$store.state.config.highlight - const color = highlight[user.screen_name] - return highlightStyle(color) + return highlightStyle(highlight[user.screen_name]) }, hideAttachments () { return (this.$store.state.config.hideAttachments && !this.inConversation) || -- cgit v1.2.3-70-g09d2