mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Popular videos tab
This commit is contained in:
11
Model/TrendingCategory.swift
Normal file
11
Model/TrendingCategory.swift
Normal file
@@ -0,0 +1,11 @@
|
||||
enum TrendingCategory: String, CaseIterable, Identifiable {
|
||||
case `default`, music, gaming, movies
|
||||
|
||||
var id: TrendingCategory.RawValue {
|
||||
rawValue
|
||||
}
|
||||
|
||||
var name: String {
|
||||
rawValue.capitalized
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user