mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Improve history, resume videos, mark watched videos (fixes #42)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user