Skip to content

Commit 38a0285

Browse files
committed
refactor: 쓰지 않는 코드 제거
1 parent 7af75f3 commit 38a0285

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

DevLog/Presentation/ViewModel/ProfileViewModel.swift

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -596,25 +596,6 @@ private extension ProfileViewModel {
596596
return orderedActivityKinds.filter { activityKinds.contains($0) }
597597
}
598598

599-
func dayKey(from date: Date) -> String {
600-
date.formatted(
601-
Date.ISO8601FormatStyle(timeZone: calendar.timeZone)
602-
.year()
603-
.month()
604-
.day()
605-
)
606-
}
607-
608-
func date(from dayKey: String) -> Date? {
609-
try? Date(
610-
dayKey,
611-
strategy: Date.ISO8601FormatStyle(timeZone: calendar.timeZone)
612-
.year()
613-
.month()
614-
.day()
615-
)
616-
}
617-
618599
func beginLoading(mode: LoadingState.Mode) {
619600
loadingState.begin(mode: mode) { [weak self] isLoading in
620601
self?.send(.setLoading(isLoading))

0 commit comments

Comments
 (0)