Skip to content

Commit

Permalink
[Fix] #19 단지 생성시 첫 선택 컬러 표시 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KakaoTocs committed Sep 23, 2021
1 parent 607d41f commit 8f13227
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BMDJ/ViewController/DanjiPlantViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@ final class DanjiPlantViewController: UIViewController, View {

NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow(_:)), name: UIResponder.keyboardWillShowNotification, object: nil)
}

override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)

colorCollectionView.selectItem(at: IndexPath(item: 4, section: 0), animated: false, scrollPosition: .top)
}

// MARK: - Method
func bind(reactor: DanjiPlantViewReactor) {
Expand Down

0 comments on commit 8f13227

Please sign in to comment.