mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
15 lines
655 B
Swift
15 lines
655 B
Swift
import Defaults
|
|
|
|
extension Defaults.Keys {
|
|
static let layout = Key<ListingLayout>("listingLayout", default: .cells)
|
|
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")
|
|
}
|