Skip to content

Commit

Permalink
Fix unread count badge hiding logic
Browse files Browse the repository at this point in the history
  • Loading branch information
skorepak committed Jul 8, 2021
1 parent 8dc565a commit 95ee7d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ open class _ChatChannelUnreadCountView<ExtraData: ExtraDataTypes>: _View, ThemeP
}

override open func updateContent() {
isHidden = content.mentionedMessages == 0 && content.messages == 0
isHidden = content.messages == 0
unreadCountLabel.text = String(content.messages)
}
}

0 comments on commit 95ee7d4

Please sign in to comment.