Fix drop highlight state

This commit is contained in:
Maurice Parker
2022-11-11 21:26:06 -06:00
parent 77d8d4f4eb
commit 8aeb36e0ec

View File

@@ -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) {