Skip to content

Commit 6d8cfa2

Browse files
committed
Fix demo application compile error
1 parent 0edd8bf commit 6d8cfa2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Demo/ViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ class ViewController: UIViewController {
8383
})
8484
.addDisposableTo(self.disposableBag)
8585

86-
button1.rx.bind(to: action: sharedAction, input: .button("Button 1"))
86+
button1.rx.bind(to: sharedAction, input: .button("Button 1"))
8787

88-
button2.rx.bind(to: action: sharedAction) { _ in
88+
button2.rx.bind(to: sharedAction) { _ in
8989
return .button("Button 2")
9090
}
91-
self.navigationItem.leftBarButtonItem?.rx.bind(to: action: sharedAction, input: .barButton)
91+
self.navigationItem.leftBarButtonItem?.rx.bind(to: sharedAction, input: .barButton)
9292

9393
sharedAction.executing.debounce(0, scheduler: MainScheduler.instance).subscribe(onNext: { [weak self] executing in
9494
if (executing) {

0 commit comments

Comments
 (0)