aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-09-16 12:01:07 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-09-16 12:01:07 +0200
commitd3e21e6050fd8cfde6ff7c68d9f8dfedf7b6301f (patch)
tree3e9d76f8f4be7febedbd1dac01f1adc1c4c1b7db /Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
parent45e5a80ae378a72720114641c39148c199c6332d (diff)
Add glass
Diffstat (limited to 'Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift')
-rw-r--r--Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift9
1 files changed, 5 insertions, 4 deletions
diff --git a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
index 73837a0..b9d76c6 100644
--- a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
+++ b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
@@ -5,7 +5,9 @@ struct EvolutionPickerMenu: View {
@Binding var selectedEvolution: StageType
private func select(_ stageType: StageType) {
- selectedEvolution = stageType
+ withAnimation {
+ selectedEvolution = stageType
+ }
}
var body: some View {
@@ -46,9 +48,8 @@ struct EvolutionPickerMenu: View {
}
}
}
- .padding(Dimensions.Spacing.coziest)
- .ignoresSafeArea()
-
+ .padding(.horizontal, Dimensions.Spacing.coziest)
+ .padding(.vertical, Dimensions.Spacing.regular)
}
}