Move workspace indicator setting into workspace colors (#329)

This commit is contained in:
Lawrence Chen 2026-02-22 17:45:11 -08:00 committed by GitHub
parent d496a07a84
commit 923c62820f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2773,10 +2773,12 @@ struct SettingsView: View {
.pickerStyle(.menu)
}
SettingsCardDivider()
}
SettingsSectionHeader(title: "Workspace Colors")
SettingsCard {
SettingsCardRow(
"Active Workspace Indicator",
"Workspace Color Indicator",
controlWidth: pickerColumnWidth
) {
Picker("", selection: sidebarIndicatorStyleSelection) {
@ -2787,10 +2789,9 @@ struct SettingsView: View {
.labelsHidden()
.pickerStyle(.menu)
}
}
SettingsSectionHeader(title: "Workspace Colors")
SettingsCard {
SettingsCardDivider()
SettingsCardNote("Customize the workspace color palette used by Sidebar > Tab Color. \"Choose Custom Color...\" entries are persisted below.")
ForEach(Array(workspaceTabDefaultEntries.enumerated()), id: \.element.name) { index, entry in