We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82feba9 commit 21e222cCopy full SHA for 21e222c
Giffy/Features/Search/SearchReducer.swift
@@ -132,16 +132,17 @@ public struct SearchReducer {
132
}
133
134
public var greetingText: String {
135
+ let context = "animation"
136
let hour = Calendar.current.component(.hour, from: Date())
137
switch hour {
138
case 5..<12:
- return "Morning"
139
+ return "morning"
140
case 12..<17:
- return "Afternoon"
141
+ return "afternoon"
142
case 17..<21:
- return "Evening"
143
+ return "evening"
144
default:
- return "Night"
145
+ return "night"
146
147
148
0 commit comments