forked from shadowfacts/Tusker
Fix profile no content cell not using non-pure-black background color
This commit is contained in:
parent
cd9d64410f
commit
813d0433d6
|
@ -18,6 +18,10 @@ class ProfileNoContentCollectionViewCell: UICollectionViewListCell {
|
||||||
override init(frame: CGRect) {
|
override init(frame: CGRect) {
|
||||||
super.init(frame: frame)
|
super.init(frame: frame)
|
||||||
|
|
||||||
|
var config = UIBackgroundConfiguration.listPlainCell()
|
||||||
|
config.backgroundColor = .appBackground
|
||||||
|
backgroundConfiguration = config
|
||||||
|
|
||||||
let title = UILabel()
|
let title = UILabel()
|
||||||
title.text = "There's nothing here"
|
title.text = "There's nothing here"
|
||||||
title.adjustsFontForContentSizeCategory = true
|
title.adjustsFontForContentSizeCategory = true
|
||||||
|
|
Loading…
Reference in New Issue