Skip to content

Commit

Permalink
rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Nov 22, 2023
1 parent 47edbc0 commit d84190a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,7 @@ final class AnnotationPopoverViewController: UIViewController {
)

// Update selected color
if let views = colorPickerContainer?.arrangedSubviews {
for view in views {
guard let circleView = view as? ColorPickerCircleView else { continue }
circleView.isSelected = circleView.hexColor == state.color
circleView.accessibilityLabel = name(for: circleView.hexColor, isSelected: circleView.isSelected)
}
}
colorPicker.setSelected(hexColor: state.color)

// Update tags
if !state.tags.isEmpty {
Expand Down

0 comments on commit d84190a

Please sign in to comment.