Skip to content

Commit

Permalink
Fix localized string in accessible value of SettingStepper
Browse files Browse the repository at this point in the history
  • Loading branch information
steinbro committed Sep 6, 2024
1 parent 4520c53 commit 1f19bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct SettingStepper: View {
.padding()
.background(Color.primaryBackground)
.accessibilityElement(children: .ignore)
.accessibilityValue("\(Int(value)) \(unitsLocalization)")
.accessibilityValue(GDLocalizedString(unitsLocalization, String(format: "%.0f", value)))
.accessibilityAdjustableAction { direction in
switch direction {
case .increment:
Expand Down

0 comments on commit 1f19bc3

Please sign in to comment.