added ability to pick the style of highlighting
This commit is contained in:
parent
d886ab752c
commit
6a81aa2745
6 changed files with 79 additions and 35 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue