From 0d5e6636405dbe332c33c0fb82c7ccccb20f96cb Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 14 Dec 2025 20:21:24 +0100 Subject: Use wmap-parser-swift and tree-sitter-wmap for parsing and highlighting. --- Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift | 1 - .../Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift | 1 + .../Base Components/EvolutionPicker/GlassEvolutionPicker.swift | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) (limited to 'Map/Presentation/Base Components/EvolutionPicker') diff --git a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift index da67054..83d5009 100644 --- a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift +++ b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift @@ -18,7 +18,6 @@ struct EvolutionPicker: View { @State var isShowingMenu = false @State var isHovered = false - @FocusState var isFocused: Bool @Binding var selectedEvolution: StageType diff --git a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift index b3eeb97..095c74c 100644 --- a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift +++ b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift @@ -8,6 +8,7 @@ struct EvolutionPickerMenuHeader: View { HStack(alignment: .center, spacing: Dimensions.Spacing.regular) { Text(key) .font(.Theme.Caption.emphasized) + .lineSpacing(Dimensions.LineHeight.caption - Dimensions.FontSize.caption) .padding(.vertical, Dimensions.Spacing.cozy) .textCase(.uppercase) .padding(.leading, Dimensions.Spacing.regular) diff --git a/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift index 3b6f199..72a572a 100644 --- a/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift +++ b/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift @@ -18,7 +18,6 @@ import SwiftUI struct GlassEvolutionPicker: View { @State var isShowingMenu = false - @FocusState var isFocused: Bool @Binding var selectedEvolution: StageType -- cgit