macOS: scheme doesn't need to be state

pull/7179/head
Mitchell Hashimoto 2025-04-25 11:42:04 -07:00
parent 1acb1715c3
commit 2b4d89e11f
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 1 deletions

View File

@ -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