mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 01:21:14 +08:00
fix(thread-list): Unread gem hover state should override "star"
Fixes T3216
This commit is contained in:
parent
8edbec2dd6
commit
8107be6ec4
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ class ThreadListIcon extends React.Component
|
|||
return 'thread-icon-star'
|
||||
|
||||
if @props.thread.unread
|
||||
return 'thread-icon-unread thread-icon-star-on-hover'
|
||||
return 'thread-icon-unread'
|
||||
|
||||
msgs = @_nonDraftMessages()
|
||||
last = msgs[msgs.length - 1]
|
||||
|
@ -27,9 +27,9 @@ class ThreadListIcon extends React.Component
|
|||
myEmail = NamespaceStore.current()?.emailAddress
|
||||
if msgs.length > 1 and last.from[0]?.email is myEmail
|
||||
if Utils.isForwardedMessage(last)
|
||||
return 'thread-icon-forwarded thread-icon-star-on-hover'
|
||||
return 'thread-icon-forwarded'
|
||||
else
|
||||
return 'thread-icon-replied thread-icon-star-on-hover'
|
||||
return 'thread-icon-replied'
|
||||
|
||||
return 'thread-icon-star-on-hover'
|
||||
|
||||
|
|
Loading…
Reference in a new issue