Skip to content

Commit

Permalink
[Chip#661] Fix cell reuse.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-zimmermann committed Nov 30, 2023
1 parent 9b3705b commit c022339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Sources/Components/Chip/View/UIKit/ChipUIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public final class ChipUIView: UIControl {

private func setupSubscriptions() {
self.viewModel.$colors.subscribe(in: &self.subscriptions) { [weak self] colors in
UIView.animate(withDuration: 0.1, animations: { self?.setChipColors(colors) })
self?.setChipColors(colors)
}

self.viewModel.$spacing.subscribe(in: &self.subscriptions) { [weak self] spacing in
Expand Down

0 comments on commit c022339

Please sign in to comment.