Skip to content

Commit

Permalink
[Fix] #195 - 메서드명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongdung-eo committed Nov 19, 2023
1 parent fa21ba4 commit 5b51c9d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class MyInfoViewController: UIViewController {
setUI()
setLayout()
setupDataSource()
setSanpShot()
setSnapShot()
}
}

Expand Down Expand Up @@ -114,7 +114,7 @@ extension MyInfoViewController {
}
}

private func setSanpShot() {
private func setSnapShot() {

var snapShot = SnapShot()

Expand Down Expand Up @@ -162,9 +162,9 @@ extension MyInfoViewController: UICollectionViewDelegate {
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
switch indexPath.section {
case 0:
ProfileSectionSelection()
profileSectionSelection()
case 1:
InfoSectionSelection(for: indexPath,
infoSectionSelection(for: indexPath,
events: [.clickGuide, .clickFaq],
urls: [.guid, .faq])
case 2:
Expand All @@ -176,7 +176,7 @@ extension MyInfoViewController: UICollectionViewDelegate {
}
}

private func ProfileSectionSelection() {
private func profileSectionSelection() {
sendAnalyticsEvent(.clickMyInfo) {

let nextViewController = MyInfoAccountViewController()
Expand All @@ -185,7 +185,7 @@ extension MyInfoViewController: UICollectionViewDelegate {
}
}

private func InfoSectionSelection(for indexPath: IndexPath,
private func infoSectionSelection(for indexPath: IndexPath,
events: [AnalyticsEvent.MyInfo],
urls: [MyInfoURL]) {
guard let item = urls.indices.contains(indexPath.item) ? urls[indexPath.item] : nil,
Expand Down

0 comments on commit 5b51c9d

Please sign in to comment.