mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 18:54:11 +00:00
Remember last used trending category and country
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// swiftlint:disable switch_case_on_newline
|
||||
import Defaults
|
||||
|
||||
enum Country: String, CaseIterable, Identifiable, Hashable {
|
||||
enum Country: String, CaseIterable, Identifiable, Hashable, Defaults.Serializable {
|
||||
var id: String {
|
||||
rawValue
|
||||
}
|
||||
|
@@ -1,4 +1,6 @@
|
||||
enum TrendingCategory: String, CaseIterable, Identifiable {
|
||||
import Defaults
|
||||
|
||||
enum TrendingCategory: String, CaseIterable, Identifiable, Defaults.Serializable {
|
||||
case `default`, music, gaming, movies
|
||||
|
||||
var id: TrendingCategory.RawValue {
|
||||
|
Reference in New Issue
Block a user