2021-06-27 04:59:55 +05:30
|
|
|
import Defaults
|
|
|
|
|
|
|
|
extension Defaults.Keys {
|
|
|
|
static let layout = Key<ListingLayout>("listingLayout", default: .cells)
|
2021-06-28 20:32:13 +05:30
|
|
|
static let searchQuery = Key<String>("searchQuery", default: "")
|
2021-07-08 04:09:18 +05:30
|
|
|
|
|
|
|
static let searchSortOrder = Key<SearchSortOrder>("searchSortOrder", default: .relevance)
|
2021-07-09 20:23:53 +05:30
|
|
|
static let searchDate = Key<SearchDate?>("searchDate")
|
|
|
|
static let searchDuration = Key<SearchDuration?>("searchDuration")
|
2021-07-08 22:48:36 +05:30
|
|
|
|
|
|
|
static let selectedPlaylistID = Key<String?>("selectedPlaylistID")
|
2021-07-09 20:23:53 +05:30
|
|
|
static let showingAddToPlaylist = Key<Bool>("showingAddToPlaylist", default: false)
|
|
|
|
static let videoIDToAddToPlaylist = Key<String?>("videoIDToAddToPlaylist")
|
2021-06-27 04:59:55 +05:30
|
|
|
}
|