aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.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/EvolutionPicker.swift
parent45e5a80ae378a72720114641c39148c199c6332d (diff)
Add glass
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),