Skip to content

Commit

Permalink
[#195] 🗑️ newClubButton과 관련된 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
junseopark0331 committed Dec 27, 2023
1 parent 4dc0e07 commit 90f1d1a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions iOS/Sources/Presentation/Scene/Main/Home/HomeVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ final class HomeVC: TabmanViewController, View {
style: .plain,
target: nil,
action: nil)
private let newClubButton = UIBarButtonItem(image: .init(systemName: "plus.app")?.tintColor(GCMSAsset.Colors.gcmsGray4.color),
style: .plain,
target: nil,
action: nil)
private lazy var indicator = LottieAnimationView(name: "GCMS-Indicator").then {
$0.contentMode = .scaleAspectFit
$0.loopMode = .loop
Expand Down Expand Up @@ -112,7 +108,6 @@ private extension HomeVC {
}
func configNavigation() {
self.navigationItem.leftBarButtonItem = UIBarButtonItem.init(customView: titleLabel)
self.navigationItem.setRightBarButtonItems([myPageButton, newClubButton], animated: true)
self.navigationItem.configBack()
}
func bindAction(reactor: HomeReactor) {
Expand All @@ -126,11 +121,6 @@ private extension HomeVC {
.map { _ in Reactor.Action.myPageButtonDidTap }
.bind(to: reactor.action)
.disposed(by: disposeBag)

newClubButton.rx.tap
.map { _ in Reactor.Action.newClubButtonDidTap }
.bind(to: reactor.action)
.disposed(by: disposeBag)
}
func bindState(reactor: HomeReactor) {
let sharedState = reactor.state.share(replay: 3).observe(on: MainScheduler.asyncInstance)
Expand Down

0 comments on commit 90f1d1a

Please sign in to comment.