Skip to content

Commit

Permalink
Merge pull request #584 from tidepool-org/noah/ui-test-fix
Browse files Browse the repository at this point in the history
Fix accessibility label for UI test
  • Loading branch information
SwiftlyNoah authored Jul 26, 2023
2 parents 10f96c0 + ea9e39b commit 79b648b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loop/View Controllers/StatusTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ final class StatusTableViewController: LoopChartsTableViewController {
private func updateToolbarItems() {
let isPumpOnboarded = onboardingManager.isComplete || deviceManager.pumpManager?.isOnboarded == true

toolbarItems![0].accessibilityLabel = NSLocalizedString("Enter Carbs", comment: "The label of the carb entry button")
toolbarItems![0].accessibilityLabel = NSLocalizedString("Add Meal", comment: "The label of the carb entry button")
toolbarItems![0].isEnabled = isPumpOnboarded
toolbarItems![0].tintColor = UIColor.carbTintColor
toolbarItems![4].accessibilityLabel = NSLocalizedString("Bolus", comment: "The label of the bolus entry button")
Expand Down

0 comments on commit 79b648b

Please sign in to comment.