From 813d0433d66f671817fd17cef13dda9ff80c6320 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 16 Apr 2023 15:11:47 -0400 Subject: [PATCH] Fix profile no content cell not using non-pure-black background color --- .../Screens/Profile/ProfileNoContentCollectionViewCell.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tusker/Screens/Profile/ProfileNoContentCollectionViewCell.swift b/Tusker/Screens/Profile/ProfileNoContentCollectionViewCell.swift index 9d9ec3b8..4459ed91 100644 --- a/Tusker/Screens/Profile/ProfileNoContentCollectionViewCell.swift +++ b/Tusker/Screens/Profile/ProfileNoContentCollectionViewCell.swift @@ -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