Skip to content

Commit 13f1357

Browse files
authored
Merge pull request #556 from tidepool-org/cameron/xcode-14.3-support
Xcode 14.3 support
2 parents f3daaaa + 3a6270b commit 13f1357

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

StatusWidget/BasalView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ struct BasalView: View {
2626
.foregroundColor((isOld ? Color(UIColor.systemGray3) : Color("insulin")).opacity(0.5))
2727
.frame(width: 44, height: 22)
2828

29-
if let rate = rate,
30-
let rateString = decimalFormatter.string(from: NSNumber(value: rate)) {
29+
if let rateString = decimalFormatter.string(from: NSNumber(value: rate)) {
3130
Text("\(rateString) U")
3231
.font(.footnote)
3332
.foregroundColor(Color(isOld ? UIColor.systemGray3 : UIColor.secondaryLabel))

0 commit comments

Comments
 (0)