Skip to content

Commit

Permalink
fix/#368 경계선이 안보여야 하는 화면 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
JinUng41 committed Sep 6, 2024
1 parent 6de7a43 commit f8ffc78
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class AddPromiseCompleteViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()

setupNavigationBarTitle(with: "내 모임 추가하기")
setupNavigationBarTitle(with: "내 모임 추가하기", isBorderHidden: true)
navigationItem.hidesBackButton = true
}

Expand All @@ -63,7 +63,6 @@ final class AddPromiseCompleteViewController: BaseViewController {
animated: false
)
rootViewController.navigationController?.pushViewController(

PromiseViewController(
viewModel: PromiseViewModel(
promiseID: owner.promiseID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class AddPromiseViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()

setupNavigationBarTitle(with: "약속 추가하기")
setupNavigationBarTitle(with: "약속 추가하기", isBorderHidden: true)
setupNavigationBarBackButton()

bindViewModel()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class SelectMemberViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()

setupNavigationBarTitle(with: "약속 추가하기")
setupNavigationBarTitle(with: "약속 추가하기", isBorderHidden: true)
setupNavigationBarBackButton()

bindViewModel()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class SelectPenaltyViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()

setupNavigationBarTitle(with: "약속 추가하기")
setupNavigationBarTitle(with: "약속 추가하기", isBorderHidden: true)
setupNavigationBarBackButton()

bindViewModel()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private extension MeetingInfoViewController {
output.info
.drive(with: self) { owner, meetingInfo in
guard let info = meetingInfo else { return }
owner.title = info.name
owner.setupNavigationBarTitle(with: info.name)
owner.rootView.configureInfo(
createdAt: info.createdAt,
metCount: info.metCount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class PromiseViewController: BaseViewController {
private extension PromiseViewController {
func setupBindings() {
viewModel.promiseInfo.bindOnMain(with: self) { owner, info in
owner.setupNavigationBarTitle(with: info?.promiseName ?? "", isBorderHidden: false)
owner.setupNavigationBarTitle(with: info?.promiseName ?? "", isBorderHidden: true)

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

0 comments on commit f8ffc78

Please sign in to comment.