mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
14 lines
267 B
Swift
14 lines
267 B
Swift
import Defaults
|
|
|
|
enum TrendingCategory: String, CaseIterable, Identifiable, Defaults.Serializable {
|
|
case `default`, music, gaming, movies
|
|
|
|
var id: TrendingCategory.RawValue {
|
|
rawValue
|
|
}
|
|
|
|
var name: String {
|
|
rawValue.capitalized
|
|
}
|
|
}
|