More search UI improvements across all the platforms

This commit is contained in:
Arkadiusz Fal
2021-09-26 19:40:25 +02:00
parent 4e0d7b60f7
commit f9396985c9
16 changed files with 241 additions and 197 deletions

View File

@@ -3,7 +3,7 @@ import Foundation
final class SearchQuery: ObservableObject {
enum Date: String, CaseIterable, Identifiable, DefaultsSerializable {
case hour, today, week, month, year
case any, hour, today, week, month, year
var id: SearchQuery.Date.RawValue {
rawValue
@@ -15,7 +15,7 @@ final class SearchQuery: ObservableObject {
}
enum Duration: String, CaseIterable, Identifiable, DefaultsSerializable {
case short, long
case any, short, long
var id: SearchQuery.Duration.RawValue {
rawValue