mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 10:28:11 +00:00
Setting for player sidebar
This commit is contained in:
@@ -5,7 +5,7 @@ import SwiftUI
|
||||
struct SettingsView: View {
|
||||
#if os(macOS)
|
||||
private enum Tabs: Hashable {
|
||||
case playback, services, instances
|
||||
case instances, playback, services
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -24,14 +24,6 @@ struct SettingsView: View {
|
||||
}
|
||||
.tag(Tabs.instances)
|
||||
|
||||
Form {
|
||||
ServicesSettings()
|
||||
}
|
||||
.tabItem {
|
||||
Label("Services", systemImage: "puzzlepiece.extension")
|
||||
}
|
||||
.tag(Tabs.services)
|
||||
|
||||
Form {
|
||||
PlaybackSettings()
|
||||
}
|
||||
@@ -39,6 +31,14 @@ struct SettingsView: View {
|
||||
Label("Playback", systemImage: "play.rectangle.on.rectangle.fill")
|
||||
}
|
||||
.tag(Tabs.playback)
|
||||
|
||||
Form {
|
||||
ServicesSettings()
|
||||
}
|
||||
.tabItem {
|
||||
Label("Services", systemImage: "puzzlepiece.extension")
|
||||
}
|
||||
.tag(Tabs.services)
|
||||
}
|
||||
.padding(20)
|
||||
.frame(width: 400, height: 310)
|
||||
@@ -49,8 +49,8 @@ struct SettingsView: View {
|
||||
AccountSelectionView()
|
||||
#endif
|
||||
InstancesSettings()
|
||||
ServicesSettings()
|
||||
PlaybackSettings()
|
||||
ServicesSettings()
|
||||
}
|
||||
.navigationTitle("Settings")
|
||||
.toolbar {
|
||||
|
Reference in New Issue
Block a user