Change how section header background color is set to clear up console warning.

This commit is contained in:
Maurice Parker 2019-04-20 11:43:05 -05:00
parent e31be75d95
commit 6910382981
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ class MasterTableViewSectionHeader: UITableViewHeaderFooterView {
private extension MasterTableViewSectionHeader {
func commonInit() {
backgroundColor = AppAssets.tableSectionHeaderColor
let view = UIView()
view.backgroundColor = AppAssets.tableSectionHeaderColor
backgroundView = view
addSubviewAtInit(unreadCountView)
addSubviewAtInit(titleView)
}