Skip to content

Commit 1009885

Browse files
authored
Merge pull request LoopKit#788 from tidepool-org/Pragna/QAE-452-Identifiers
[QAE-452] add accessibility identifiers
2 parents e2f8777 + 7c4dc07 commit 1009885

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Loop/View Controllers/StatusTableViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,13 +1127,15 @@ final class StatusTableViewController: LoopChartsTableViewController {
11271127
case .pumpSuspended(let resuming):
11281128
let cell = getTitleSubtitleCell()
11291129
cell.titleLabel.text = NSLocalizedString("Insulin Suspended", comment: "The title of the cell indicating the pump is suspended")
1130-
1130+
cell.titleLabel.accessibilityIdentifier = "text_InsulinSuspended"
1131+
11311132
if resuming {
11321133
let indicatorView = UIActivityIndicatorView(style: .default)
11331134
indicatorView.startAnimating()
11341135
cell.accessoryView = indicatorView
11351136
} else {
11361137
cell.subtitleLabel.text = NSLocalizedString("Tap to Resume", comment: "The subtitle of the cell displaying an action to resume insulin delivery")
1138+
cell.subtitleLabel.accessibilityIdentifier = "text_InsulinTapToResume"
11371139
}
11381140
cell.selectionStyle = .default
11391141
return cell

0 commit comments

Comments
 (0)