From edefce114c886eea0028cbe16293ee0ebbb056b0 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Tue, 8 Jul 2025 20:35:10 +0100 Subject: [PATCH] fixed label hidden --- ShhShell/Views/Themes/ThemeEditorView.swift | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ShhShell/Views/Themes/ThemeEditorView.swift b/ShhShell/Views/Themes/ThemeEditorView.swift index 53b10b6..d7e3b0c 100644 --- a/ShhShell/Views/Themes/ThemeEditorView.swift +++ b/ShhShell/Views/Themes/ThemeEditorView.swift @@ -20,8 +20,8 @@ struct ThemeEditorView: View { List { Section("Preview") { -// ThemePreview(hostsManager: HostsManager(), theme: themeCodable.toTheme(), canModify: false) -// .id(themeCodable) +// ThemePreview(hostsManager: HostsManager(), theme: .constant(theme), canModify: false) +// .id(theme) } Section("Name") { @@ -32,19 +32,12 @@ struct ThemeEditorView: View { Section("Main Colors") { ColorPicker("Text", selection: $theme.foreground.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Background", selection: $theme.background.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Cursor", selection: $theme.cursor.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Cusor Text", selection: $theme.cursorText.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Bold Text", selection: $theme.bold.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Selection", selection: $theme.selection.suiColor, supportsOpacity: false) - .labelsHidden() ColorPicker("Selected Text", selection: $theme.selectedText.suiColor, supportsOpacity: false) - .labelsHidden() } Section("Ansi Colors") {