mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 08:18:19 +00:00
17 lines
687 B
Swift
17 lines
687 B
Swift
import Defaults
|
|
|
|
extension Defaults.Keys {
|
|
#if os(tvOS)
|
|
static let layout = Key<ListingLayout>("listingLayout", default: .cells)
|
|
#endif
|
|
static let searchQuery = Key<String>("searchQuery", default: "")
|
|
|
|
static let searchSortOrder = Key<SearchSortOrder>("searchSortOrder", default: .relevance)
|
|
static let searchDate = Key<SearchDate?>("searchDate")
|
|
static let searchDuration = Key<SearchDuration?>("searchDuration")
|
|
|
|
static let selectedPlaylistID = Key<String?>("selectedPlaylistID")
|
|
static let showingAddToPlaylist = Key<Bool>("showingAddToPlaylist", default: false)
|
|
static let videoIDToAddToPlaylist = Key<String?>("videoIDToAddToPlaylist")
|
|
}
|