We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3daaaa + 3a6270b commit 13f1357Copy full SHA for 13f1357
StatusWidget/BasalView.swift
@@ -26,8 +26,7 @@ struct BasalView: View {
26
.foregroundColor((isOld ? Color(UIColor.systemGray3) : Color("insulin")).opacity(0.5))
27
.frame(width: 44, height: 22)
28
29
- if let rate = rate,
30
- let rateString = decimalFormatter.string(from: NSNumber(value: rate)) {
+ if let rateString = decimalFormatter.string(from: NSNumber(value: rate)) {
31
Text("\(rateString) U")
32
.font(.footnote)
33
.foregroundColor(Color(isOld ? UIColor.systemGray3 : UIColor.secondaryLabel))
0 commit comments