Improve history, resume videos, mark watched videos (fixes #42)

This commit is contained in:
Arkadiusz Fal
2021-12-26 22:14:46 +01:00
parent adcebb77a5
commit ac1c6685a1
31 changed files with 775 additions and 344 deletions

View File

@@ -5,7 +5,7 @@ import SwiftUI
struct SettingsView: View {
#if os(macOS)
private enum Tabs: Hashable {
case instances, browsing, playback, services, updates
case instances, browsing, history, playback, services, updates
}
#endif
@@ -42,6 +42,14 @@ struct SettingsView: View {
}
.tag(Tabs.browsing)
Form {
HistorySettings()
}
.tabItem {
Label("History", systemImage: "clock.arrow.circlepath")
}
.tag(Tabs.history)
Form {
PlaybackSettings()
}
@@ -89,6 +97,7 @@ struct SettingsView: View {
}
BrowsingSettings()
HistorySettings()
PlaybackSettings()
ServicesSettings()
}