Settings for thumbnails details

This commit is contained in:
Arkadiusz Fal
2021-11-05 00:25:51 +01:00
parent dc9cbd34d0
commit bf8093c587
7 changed files with 120 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ import SwiftUI
struct SettingsView: View {
#if os(macOS)
private enum Tabs: Hashable {
case instances, playback, services
case instances, browsing, playback, services
}
#endif
@@ -24,6 +24,14 @@ struct SettingsView: View {
}
.tag(Tabs.instances)
Form {
BrowsingSettings()
}
.tabItem {
Label("Browsing", systemImage: "list.and.film")
}
.tag(Tabs.browsing)
Form {
PlaybackSettings()
}
@@ -49,6 +57,7 @@ struct SettingsView: View {
AccountSelectionView()
#endif
InstancesSettings()
BrowsingSettings()
PlaybackSettings()
ServicesSettings()
}
@@ -69,7 +78,7 @@ struct SettingsView: View {
#endif
}
#if os(tvOS)
.background(.thickMaterial)
.background(.black)
#endif
#endif
}