diff --git a/macos/Sources/Features/Command Palette/CommandPalette.swift b/macos/Sources/Features/Command Palette/CommandPalette.swift index 53070c5db..3e5a3a36f 100644 --- a/macos/Sources/Features/Command Palette/CommandPalette.swift +++ b/macos/Sources/Features/Command Palette/CommandPalette.swift @@ -44,7 +44,7 @@ struct CommandPaletteView: View { } var body: some View { - @State var scheme: ColorScheme = if OSColor(backgroundColor).isLightColor { + let scheme: ColorScheme = if OSColor(backgroundColor).isLightColor { .light } else { .dark