commit
4b13e508e7
|
@ -53,7 +53,7 @@ struct AppAssets {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
static var masterFolderImage: RSImage = {
|
static var masterFolderImage: RSImage = {
|
||||||
let image = RSImage(named: "folderImage")!
|
let image = RSImage(systemName: "folder.fill")!
|
||||||
return image.maskWithColor(color: AppAssets.masterFolderColor.cgColor)!
|
return image.maskWithColor(color: AppAssets.masterFolderColor.cgColor)!
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
@ -113,6 +113,7 @@ private extension MasterFeedTableViewSectionHeader {
|
||||||
addSubviewAtInit(titleView)
|
addSubviewAtInit(titleView)
|
||||||
updateDisclosureImage()
|
updateDisclosureImage()
|
||||||
addSubviewAtInit(disclosureView)
|
addSubviewAtInit(disclosureView)
|
||||||
|
addBackgroundView()
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateDisclosureImage() {
|
func updateDisclosureImage() {
|
||||||
|
@ -134,4 +135,9 @@ private extension MasterFeedTableViewSectionHeader {
|
||||||
disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect)
|
disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func addBackgroundView() {
|
||||||
|
self.backgroundView = UIView(frame: self.bounds)
|
||||||
|
self.backgroundView?.backgroundColor = UIColor.systemGroupedBackground
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue