mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
14 lines
241 B
Swift
14 lines
241 B
Swift
import Defaults
|
|
|
|
enum SearchDuration: String, CaseIterable, Identifiable, DefaultsSerializable {
|
|
case short, long
|
|
|
|
var id: SearchDuration.RawValue {
|
|
rawValue
|
|
}
|
|
|
|
var name: String {
|
|
rawValue.capitalized
|
|
}
|
|
}
|