@@ -115,8 +115,8 @@ extension DisplayOptionsViewController {
115
115
return DigitGroupingRowViewModel(
116
116
title: "Digit Grouping",
117
117
options: [
118
- (title: "•• •• ••", accessibilityLabel: "Groups of two digits", value: 2 , accessibilityHint: "For example, 38 62 47"),
119
- (title: "••• •••", accessibilityLabel: "Groups of three digits", value: 3 , accessibilityHint: "For example, 386 247"),
118
+ (title: "•• •• ••", value: 2, accessibilityLabel: "Groups of two digits", accessibilityHint: "For example, 38 62 47"),
119
+ (title: "••• •••", value: 3, accessibilityLabel: "Groups of three digits", accessibilityHint: "For example, 386 247"),
120
120
],
121
121
value: viewModel.digitGroupSize,
122
122
changeAction: DisplayOptions.Effect.setDigitGroupSize
@@ -132,7 +132,7 @@ struct DigitGroupingRowViewModel<Action> {
132
132
let segments: [(title: String, accessibilityLabel: String, accessibilityHint: String, action: Action)]
133
133
let selectedSegmentIndex: Int?
134
134
135
- init<V: Equatable>(title: String, options: [(title: String, accessibilityLabel: String, value: V , accessibilityHint: String)], value: V, changeAction: (V) -> Action) {
135
+ init<V: Equatable>(title: String, options: [(title: String, value: V, accessibilityLabel: String , accessibilityHint: String)], value: V, changeAction: (V) -> Action) {
136
136
self.title = title
137
137
segments = options.map({ option in
138
138
(title: option.title, accessibilityLabel: option.accessibilityLabel, accessibilityHint: option.accessibilityHint, action: changeAction(option.value))
0 commit comments