Skip to content

Commit 8880f6e

Browse files
committed
fix: 장부 탭에서 장부 생성으로 진입 시 초대코드 버튼 숨김 처리
1 parent 5d36a05 commit 8880f6e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Projects/Feature/Agency/Sources/Scene/InputAgencyInfo/InputAgencyInfoVC.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Combine
33

44
import DesignSystem
55
import BaseFeature
6+
import LedgerFeatureInterface
67

78
import RxSwift
89
import RxCocoa
@@ -73,6 +74,13 @@ public final class InputAgencyInfoVC: BaseVC, View {
7374
NSLayoutConstraint.activate(keybordHideCreateButtonConstraints)
7475
}
7576

77+
override public func viewWillAppear(_ animated: Bool) {
78+
super.viewWillAppear(animated)
79+
if coordinator?.parentCoordinator is LedgerCoordinatorInterface {
80+
codeInputButton.isHidden = true
81+
}
82+
}
83+
7684
public func bind(reactor: InputAgencyInfoReactor) {
7785
// Action Binding
7886
setRightItem(.closeBlack)

0 commit comments

Comments
 (0)