aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/EvolutionPicker
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 20:21:24 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-15 00:10:39 +0100
commit0d5e6636405dbe332c33c0fb82c7ccccb20f96cb (patch)
treea9cda2b711bbfc9277d66310440dd965b16682fc /Map/Presentation/Base Components/EvolutionPicker
parenta5ae7aedc840a38505b3181f4e5ba92e90d94fa1 (diff)
Use wmap-parser-swift and tree-sitter-wmap for parsing and highlighting.
Diffstat (limited to 'Map/Presentation/Base Components/EvolutionPicker')
-rw-r--r--Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift1
-rw-r--r--Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenuHeader.swift1
-rw-r--r--Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift1
3 files changed, 1 insertions, 2 deletions
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