Skip to content

Commit

Permalink
fix/#357 수정하기 버튼 없어지는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Sep 2, 2024
1 parent 8e87b14 commit e85aa05
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,14 @@ private extension PromiseViewController {
func setupBindings() {
viewModel.promiseInfo.bindOnMain(with: self) { owner, info in
owner.setupNavigationBarTitle(with: info?.promiseName ?? "")

owner.promiseInfoViewController.rootView.editButton.isHidden = !(info?.isParticipant ?? false)
owner.setupPromiseEditButton(isHidden: !(info?.isParticipant ?? false))

owner.promiseInfoViewController.setupContent()
owner.promiseInfoViewController.setUpTimeContent()
owner.removePromiseViewContoller.promiseNameLabel.text = info?.promiseName ?? ""
owner.setupPromiseEditButton(isHidden: !(info?.isParticipant ?? false))

}
}

Expand Down

0 comments on commit e85aa05

Please sign in to comment.