Skip to content

Commit dc48fe0

Browse files
committed
Make rx extension public
1 parent 6047a9f commit dc48fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AlertController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ open class AlertController<A: AlertActionType>: UIAlertController, AlertControll
102102
// MARK: - Reactive Extension
103103

104104
extension Reactive where Base: AlertControllerType {
105-
var actionSelected: ControlEvent<Base.AlertAction> {
105+
public var actionSelected: ControlEvent<Base.AlertAction> {
106106
let source = self.base._actionSelectedSubject.asObservable()
107107
return ControlEvent(events: source)
108108
}
109109

110-
var actions: UIBindingObserver<Base, [Base.AlertAction]> {
110+
public var actions: UIBindingObserver<Base, [Base.AlertAction]> {
111111
return UIBindingObserver(UIElement: self.base) { alertController, actions in
112112
// do nothing if both old actions and new actions are empty
113113
guard !(alertController.actions.isEmpty && actions.isEmpty) else { return }

0 commit comments

Comments
 (0)