Add setting to show/hide recents and limit number of recents shown

This commit is contained in:
Ricky Kresslein
2024-02-27 19:01:11 +01:00
parent 7b34c7e72b
commit 5559e78bc0
4 changed files with 99 additions and 3 deletions

View File

@@ -225,6 +225,9 @@ extension Defaults.Keys {
static let saveRecents = Key<Bool>("saveRecents", default: true)
static let saveHistory = Key<Bool>("saveHistory", default: true)
static let showRecents = Key<Bool>("showRecents", default: true)
static let limitRecents = Key<Bool>("limitRecents", default: false)
static let limitRecentsAmount = Key<Int>("limitRecentsAmount", default: 10)
static let showWatchingProgress = Key<Bool>("showWatchingProgress", default: true)
static let saveLastPlayed = Key<Bool>("saveLastPlayed", default: false)