We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af75f3 commit 38a0285Copy full SHA for 38a0285
1 file changed
DevLog/Presentation/ViewModel/ProfileViewModel.swift
@@ -596,25 +596,6 @@ private extension ProfileViewModel {
596
return orderedActivityKinds.filter { activityKinds.contains($0) }
597
}
598
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
613
614
615
616
617
618
func beginLoading(mode: LoadingState.Mode) {
619
loadingState.begin(mode: mode) { [weak self] isLoading in
620
self?.send(.setLoading(isLoading))
0 commit comments