Skip to content

Commit

Permalink
rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Jan 9, 2024
1 parent 16765e7 commit 6d3bd32
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 6d3bd32

Please sign in to comment.