Skip to content

Commit 5a41dd7

Browse files
committed
[QAE-487] Add accessibility identifiers
1 parent 6008346 commit 5a41dd7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Loop/Views/BolusEntryView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ struct BolusEntryView: View {
231231
Text(viewModel.recommendedBolusString)
232232
.font(.title)
233233
.foregroundColor(Color(.label))
234+
.accessibilityIdentifier("staticText_RecommendedBolus")
234235
bolusUnitsLabel
235236
}
236237
}

Loop/Views/ManualGlucoseEntryRow.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ struct ManualGlucoseEntryRow: View {
5151
unitsChanged()
5252
})
5353
.accessibilityIdentifier("textField_FingerstickGlucose")
54+
5455
Text(displayGlucosePreference.formatter.localizedUnitStringWithPlurality())
5556
.foregroundColor(Color(.secondaryLabel))
5657
}

Loop/Views/Presets/EditPresetView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ struct EditPresetView: View {
305305
case .editInsulinNeeds:
306306
ExistingPresetInsulinNeedsEdit(
307307
insulinScaleFactor: $preset.insulinNeedsScaleFactor,
308-
presetUsesScheduledRange: preset.correctionRange == nil,
308+
presetUsesScheduledRange: preset.correctionRange == nil
309309
)
310310
case .editCorrectionRange:
311311
ExistingPresetRangeEdit(

0 commit comments

Comments
 (0)