Skip to content

Commit

Permalink
Fixed showing mark read/unread action.| #793
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed Jan 14, 2020
1 parent 1d33880 commit ba36505
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ class EmailListFragment : BaseSyncFragment(), SwipeRefreshLayout.OnRefreshListen
val menuActionMarkUnread = menu?.findItem(R.id.menuActionMarkUnread)
menuActionMarkUnread?.isVisible = isChangeSeenStateActionEnabled()

if (isChangeSeenStateActionEnabled() && tracker?.selection?.size() == 1) {
if (isChangeSeenStateActionEnabled()) {
val id = tracker?.selection?.first() ?: return true
val msgEntity = adapter.getMsgEntity(keyProvider?.getPosition(id))

Expand Down

0 comments on commit ba36505

Please sign in to comment.