Fix UIView.transition view to be the icon
This commit is contained in:
parent
8df0067813
commit
4b9f896a49
@ -92,7 +92,7 @@ class VibrantBasicTableViewCell: VibrantTableViewCell {
|
||||
|
||||
private func updateIconVibrancy(_ icon: UIImageView?, color: UIColor, image: UIImage?, animated: Bool) {
|
||||
guard let icon = icon else { return }
|
||||
UIView.transition(with: label, duration: duration(animated: animated), options: .transitionCrossDissolve, animations: {
|
||||
UIView.transition(with: icon, duration: duration(animated: animated), options: .transitionCrossDissolve, animations: {
|
||||
icon.tintColor = color
|
||||
icon.image = image
|
||||
}, completion: nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user