Skip to content

Commit

Permalink
[RadioButton#641] Remove prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-zimmermann committed Dec 5, 2023
1 parent faaacc8 commit 9617e1e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,15 @@ final class RadioButtonComponentUIView: ComponentUIView {
}
}

self.componentView.radioButtonViews[0].publisher.subscribe(in: &self.cancellables) { selected in
print("GROUP VALUE PUBLISHED \(selected)")
}
self.singleComponentView.publisher
.subscribe(in: &self.cancellables) {
[weak self] selected in
guard let self = self else { return }
print("VALUE PUBLISHED \(selected)")
self.singleRadioButtonValuePublished = selected
}

let action = UIAction { [weak self] action in
guard let self = self else { return }
print("ACTION HANDLE")
if !self.singleRadioButtonValuePublished {
self.singleComponentView.isSelected = false
}
Expand Down

0 comments on commit 9617e1e

Please sign in to comment.