2021-06-27 04:59:55 +05:30
|
|
|
import Defaults
|
|
|
|
|
|
|
|
extension Defaults.Keys {
|
|
|
|
static let layout = Key<ListingLayout>("listingLayout", default: .cells)
|
|
|
|
static let tabSelection = Key<TabSelection>("tabSelection", default: .subscriptions)
|
2021-06-28 20:32:13 +05:30
|
|
|
static let searchQuery = Key<String>("searchQuery", default: "")
|
|
|
|
static let openChannel = Key<Channel?>("openChannel")
|
2021-07-08 04:09:18 +05:30
|
|
|
|
|
|
|
static let searchSortOrder = Key<SearchSortOrder>("searchSortOrder", default: .relevance)
|
|
|
|
static let searchDate = Key<SearchDate?>("searchDate", default: nil)
|
|
|
|
static let searchDuration = Key<SearchDuration?>("searchDuration", default: nil)
|
|
|
|
static let openVideoID = Key<String>("videoID", default: "")
|
|
|
|
static let showingVideoDetails = Key<Bool>("showingVideoDetails", default: false)
|
2021-06-27 04:59:55 +05:30
|
|
|
}
|