Skip to content

Commit

Permalink
[LOOP-5195] explicitly set font and color (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhamming authored Jan 16, 2025
1 parent 1c0bfcc commit 206018b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Loop/View Controllers/StatusTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,11 @@ final class StatusTableViewController: LoopChartsTableViewController {
cell.selectionStyle = .none
cell.backgroundColor = .secondarySystemBackground
cell.titleLabel.text = nil
cell.titleLabel.textColor = .label
cell.titleLabel.font = .systemFont(ofSize: 15, weight: .bold)
cell.subtitleLabel.text = nil
cell.subtitleLabel.textColor = .secondaryLabel
cell.subtitleLabel.font = .systemFont(ofSize: 15, weight: .bold)
cell.accessoryView = nil
return cell
}
Expand Down Expand Up @@ -1107,7 +1111,11 @@ final class StatusTableViewController: LoopChartsTableViewController {
cell.iconImageView.contentMode = .scaleAspectFit
cell.iconImageView.preferredSymbolConfiguration = UIImage.SymbolConfiguration(pointSize: 28)
cell.titleLabel.text = NSLocalizedString("Setup Incomplete", comment: "The title of the cell indicating that onboarding is suspended")
cell.titleLabel.textColor = .label
cell.titleLabel.font = .systemFont(ofSize: 15, weight: .bold)
cell.subtitleLabel.text = NSLocalizedString("Tap to Resume", comment: "The subtitle of the cell displaying an action to resume onboarding")
cell.subtitleLabel.textColor = .secondaryLabel
cell.subtitleLabel.font = .systemFont(ofSize: 15, weight: .bold)
cell.accessoryView = nil
return cell
case .recommendManualGlucoseEntry:
Expand Down

0 comments on commit 206018b

Please sign in to comment.