Change how section header background color is set to clear up console warning.
This commit is contained in:
parent
e31be75d95
commit
6910382981
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue