Skip to content

Commit

Permalink
Merge pull request #12 from alhafram/master
Browse files Browse the repository at this point in the history
Fix cell highlighted state
  • Loading branch information
akarataev committed Nov 10, 2018
2 parents 8866631 + bc8ae51 commit ec29484
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gleam/Modules/ClinicList/View/ClinicTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ class ClinicTableViewCell: UITableViewCell, CollectionSetupable {
super.setSelected(selected, animated: animated)
clinicOpenStatusView.backgroundColor = viewModel.statusColor
}

override func setHighlighted(_ highlighted: Bool, animated: Bool) {
super.setHighlighted(highlighted, animated: animated)
clinicOpenStatusView.backgroundColor = viewModel.statusColor
}
}

private extension ClinicTableViewCell {
Expand Down

0 comments on commit ec29484

Please sign in to comment.