|
|
@@ -112,7 +112,7 @@ struct PumpView: View {
|
|
|
HStack {
|
|
|
Image(systemName: hourglassIcon)
|
|
|
.font(.callout)
|
|
|
- .foregroundStyle(timerColor, Color.yellow)
|
|
|
+ .foregroundStyle(timerColor, timerColorSecondary)
|
|
|
.symbolRenderingMode(.palette)
|
|
|
|
|
|
let remainingTimeString = isExpiration ?
|
|
|
@@ -227,6 +227,14 @@ struct PumpView: View {
|
|
|
return Color.loopGreen
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ private var timerColorSecondary: Color {
|
|
|
+ if activatedAtDate != nil {
|
|
|
+ return Color.gray
|
|
|
+ }
|
|
|
+
|
|
|
+ return Color.yellow
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// #Preview("message") {
|