Skip to content

Commit

Permalink
feat: add hide camerabutton state(#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
akrudal committed Jan 15, 2024
1 parent 9e40620 commit 1242982
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ extension HomeViewController {
.bind(to: timerLabel.rx.textColor)
.disposed(by: disposeBag)

reactor.pulse(\.$isHideCameraButton)
.observe(on: Schedulers.main)
.withUnretained(self)
.bind(onNext: { $0.0.hideCameraButton($0.1) })
.disposed(by: disposeBag)

reactor.pulse(\.$descriptionText)
.compactMap({$0})
.observe(on: Schedulers.main)
Expand Down

0 comments on commit 1242982

Please sign in to comment.