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) {
|
||||
super.init(frame: frame)
|
||||
|
||||
var config = UIBackgroundConfiguration.listPlainCell()
|
||||
config.backgroundColor = .appBackground
|
||||
backgroundConfiguration = config
|
||||
|
||||
let title = UILabel()
|
||||
title.text = "There's nothing here"
|
||||
title.adjustsFontForContentSizeCategory = true
|
||||
|
|
Loading…
Reference in New Issue