Fix drop highlight state

This commit is contained in:
Maurice Parker committed 2022-11-11 21:26:06 -06:00
1 parent 77d8d4f4eb
commit 8aeb36e0ec
1 file changed
+5 -2
@@ -134,8 +134,11 @@ class MasterFeedTableViewCell : VibrantTableViewCell {
}
}
override func applyThemeProperties() {
super.applyThemeProperties()
override func updateConfiguration(using state: UICellConfigurationState) {
backgroundConfiguration = UIBackgroundConfiguration.listSidebarCell().updated(for: state)
if state.isSelected {
backgroundConfiguration?.backgroundColor = AppAssets.secondaryAccentColor
}
}
override func willTransition(to state: UITableViewCell.StateMask) {