aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift')
-rw-r--r--Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift
index 5748e59..da67054 100644
--- a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift
+++ b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift
@@ -21,7 +21,7 @@ struct EvolutionPicker: View {
@FocusState var isFocused: Bool
@Binding var selectedEvolution: StageType
-
+
var body: some View {
Button(
@@ -60,9 +60,9 @@ struct EvolutionPicker: View {
)
.buttonStyle(.borderless)
.background(isShowingMenu ? Color.Theme.UI.foreground : Color.clear)
- .cornerRadius(4.0)
+ .cornerRadius(Dimensions.EvolutionPicker.radius)
.overlay(
- RoundedRectangle(cornerRadius: 4.0)
+ RoundedRectangle(cornerRadius: Dimensions.EvolutionPicker.radius)
.stroke(
isShowingMenu
? Color.Theme.UI.foreground : (isHovered ? Color.Theme.UI.foreground : Color.clear),