Add setting for saving videos history

This commit is contained in:
Arkadiusz Fal
2021-11-05 20:57:22 +01:00
parent 26f672ff4f
commit a7d9efdd9d
6 changed files with 23 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ extension PlayerModel {
}
func addCurrentItemToHistory() {
if let item = currentItem {
if let item = currentItem, Defaults[.saveHistory] {
addItemToHistory(item)
}
}