mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-02 19:42:38 +00:00
macOS: scheme doesn't need to be state
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user