Skip to content

Instantly share code, notes, and snippets.

@b-onc
Created March 10, 2020 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b-onc/d9a230bb24a668aea1af8bae484adf7b to your computer and use it in GitHub Desktop.
Save b-onc/d9a230bb24a668aea1af8bae484adf7b to your computer and use it in GitHub Desktop.
override func updateChannelCell(_ cell: ChannelTableViewCell, channelPresenter: ChannelPresenter) {
super.updateChannelCell(cell, channelPresenter: channelPresenter)
if let cell = cell as? ContactListCell {
cell.isUnread = channelPresenter.isUnread
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment