Skip to content

Commit

Permalink
[Fix/#51] 코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe0929 committed Jan 12, 2024
1 parent 0a919ce commit 75c9eb2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion HMH_iOS/HMH_iOS/Application/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
DispatchQueue.main.async{
showLoginViewController()
showTabBarViewController()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ final class ChallengeViewController: UIViewController {
private func setDelegate() {
challengeView.challengeCollectionView.delegate = self
}

}

extension ChallengeViewController: UICollectionViewDelegate {
Expand All @@ -67,7 +66,7 @@ extension ChallengeViewController: UICollectionViewDelegate {
selectedIndex = [1,0]
}
if challengeView.isDeleteMode {
if let previousSelectedCell = collectionView.cellForItem(at: selectedIndex) as? AppListCollectionViewCell {
if let previousSelectedCell = collectionView.cellForItem(at: selectedIndex) as? AppListCollectionViewCell {
previousSelectedCell.isSelectedCell = false
}
if let currentSelectedCell = collectionView.cellForItem(at: indexPath) as? AppListCollectionViewCell {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ final class ChallengeView: UIView {

@objc private func deleteButtonTapped() {
isDeleteMode.toggle()
challengeCollectionView.reloadData()
}
}

Expand Down

0 comments on commit 75c9eb2

Please sign in to comment.