Skip to content

Commit 3a6270b

Browse files
committed
Xcode 14.3 support
1 parent 9ce55db commit 3a6270b

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)