Skip to content

Commit

Permalink
Merge pull request #632 from adevinta/component/checkbox_630
Browse files Browse the repository at this point in the history
[Checkbox#630] Fix publisher initliazer issue
  • Loading branch information
aycil-alican authored Nov 22, 2023
2 parents 4b45ae6 + 4825802 commit 6edc258
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public final class CheckboxUIView: UIControl {
/// Changes to the checbox state are published to the publisher.
public var publisher: some Publisher<CheckboxSelectionState, Never> {
return self.viewModel.$selectionState
.dropFirst()
.eraseToAnyPublisher()
}

Expand Down

0 comments on commit 6edc258

Please sign in to comment.