aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/EvolutionPicker/EvolutionPickerMenu.swift
diff options
context:
space:
mode:
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)
}
}