mirror of
https://github.com/yattee/yattee.git
synced 2025-10-13 02:48:27 +00:00
Add services settings
This commit is contained in:
@@ -5,7 +5,7 @@ import SwiftUI
|
||||
struct SettingsView: View {
|
||||
#if os(macOS)
|
||||
private enum Tabs: Hashable {
|
||||
case playback, instances
|
||||
case playback, services, instances
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -24,6 +24,14 @@ struct SettingsView: View {
|
||||
}
|
||||
.tag(Tabs.instances)
|
||||
|
||||
Form {
|
||||
ServicesSettings()
|
||||
}
|
||||
.tabItem {
|
||||
Label("Services", systemImage: "puzzlepiece.extension")
|
||||
}
|
||||
.tag(Tabs.services)
|
||||
|
||||
Form {
|
||||
PlaybackSettings()
|
||||
}
|
||||
@@ -41,6 +49,7 @@ struct SettingsView: View {
|
||||
AccountSelectionView()
|
||||
#endif
|
||||
InstancesSettings()
|
||||
ServicesSettings()
|
||||
PlaybackSettings()
|
||||
}
|
||||
.navigationTitle("Settings")
|
||||
|
Reference in New Issue
Block a user