diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 17:06:28 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-04 17:06:28 +0200 |
| commit | c843d34f56c207abcf4b93e424125eea2dc601e0 (patch) | |
| tree | 415dc2d9be4be31e290e1dd1dedb0b630c5e8fc6 /Map/Presentation/Base Components/EvolutionPicker.swift | |
| parent | ed10ac191df473c92c4fec495aafa7f569d108c8 (diff) | |
Upgrade to Swift 6
Diffstat (limited to 'Map/Presentation/Base Components/EvolutionPicker.swift')
| -rw-r--r-- | Map/Presentation/Base Components/EvolutionPicker.swift | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Map/Presentation/Base Components/EvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker.swift index 2768540..2df4a7f 100644 --- a/Map/Presentation/Base Components/EvolutionPicker.swift +++ b/Map/Presentation/Base Components/EvolutionPicker.swift @@ -21,21 +21,22 @@ struct EvolutionPicker: View { var body: some View { Picker("Evolution", selection: $selectedEvolution) { ForEach(StageType.types) { stage in - Text(Stage.title(stage)).font(.Theme.body).tag(stage).padding(4.0) + Text(Stage.title(stage)).font(.Theme.Body.regular).tag(stage).padding(4.0) } Divider() ForEach(StageType.characteristics) { stage in - Text(Stage.title(stage)).font(.Theme.body).tag(stage).padding(4.0).font(.Theme.body) + Text(Stage.title(stage)).font(.Theme.Body.regular).tag(stage).padding(4.0).font( + .Theme.Body.regular) } Divider() ForEach(StageType.properties) { stage in - Text(Stage.title(stage)).font(.Theme.body).tag(stage).padding(4.0) + Text(Stage.title(stage)).font(.Theme.Body.regular).tag(stage).padding(4.0) } Divider() ForEach(StageType.custom) { stage in - Text(Stage.title(stage)).font(.Theme.body).tag(stage).padding(4.0) + Text(Stage.title(stage)).font(.Theme.Body.regular).tag(stage).padding(4.0) } - }.font(.Theme.body).padding(.horizontal, 8.0).padding(.vertical, 4.0) + }.font(.Theme.Body.regular).padding(.horizontal, 8.0).padding(.vertical, 4.0) } } |