Skip to content

Commit 21e222c

Browse files
committed
style: update the search text for better result
1 parent 82feba9 commit 21e222c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Giffy/Features/Search/SearchReducer.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,17 @@ public struct SearchReducer {
132132
}
133133

134134
public var greetingText: String {
135+
let context = "animation"
135136
let hour = Calendar.current.component(.hour, from: Date())
136137
switch hour {
137138
case 5..<12:
138-
return "Morning"
139+
return "morning"
139140
case 12..<17:
140-
return "Afternoon"
141+
return "afternoon"
141142
case 17..<21:
142-
return "Evening"
143+
return "evening"
143144
default:
144-
return "Night"
145+
return "night"
145146
}
146147
}
147148

0 commit comments

Comments
 (0)