Add setting for saving recents (fixes #14)

This commit is contained in:
Arkadiusz Fal
2021-12-01 12:22:19 +01:00
parent e61d1dfe2e
commit 06f7391ad9
5 changed files with 19 additions and 2 deletions

View File

@@ -141,6 +141,10 @@ struct ContentView: View {
player.loadHistoryDetails()
}
if !Defaults[.saveRecents] {
recents.clear()
}
var section = Defaults[.visibleSections].min()?.tabSelection
#if os(macOS)