Skip to content

Commit 463b1f5

Browse files
committed
refact :: [#115] indicatorOffset 함수 제가
1 parent 7a6117d commit 463b1f5

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Projects/Feature/SelfStudyCheck/Sources/Scene/SelfStudyCheckView.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,4 @@ extension SelfStudyCheckView {
199199
return .Gray.gray600
200200
}
201201
}
202-
203-
private func indicatorOffset(for period: SelfStudyCheckReducer.Period) -> CGFloat {
204-
let allCases = SelfStudyCheckReducer.Period.allCases
205-
guard let selectedIndex = allCases.firstIndex(of: period) else { return 0 }
206-
let buttonWidth: CGFloat = 114
207-
let spacing: CGFloat = 8
208-
let horizontalPadding: CGFloat = 24
209-
210-
return horizontalPadding + CGFloat(selectedIndex) * (buttonWidth + spacing)
211-
}
212202
}

0 commit comments

Comments
 (0)