|
@@ -42,7 +42,7 @@ struct MainChartView: View {
|
|
|
static let announcementSize: CGFloat = 8
|
|
static let announcementSize: CGFloat = 8
|
|
|
static let announcementScale: CGFloat = 2.5
|
|
static let announcementScale: CGFloat = 2.5
|
|
|
static let owlSeize: CGFloat = 25
|
|
static let owlSeize: CGFloat = 25
|
|
|
- static let owlOffset: CGFloat = 60
|
|
|
|
|
|
|
+ static let owlOffset: CGFloat = 80
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private enum Command {
|
|
private enum Command {
|
|
@@ -50,7 +50,7 @@ struct MainChartView: View {
|
|
|
static let closed = "🔴"
|
|
static let closed = "🔴"
|
|
|
static let suspend = "❌"
|
|
static let suspend = "❌"
|
|
|
static let resume = "✅"
|
|
static let resume = "✅"
|
|
|
- static let tempbasal = "💧..."
|
|
|
|
|
|
|
+ static let tempbasal = "basal"
|
|
|
static let bolus = "💧"
|
|
static let bolus = "💧"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -406,7 +406,7 @@ struct MainChartView: View {
|
|
|
info.note.contains("tempbasal") ?
|
|
info.note.contains("tempbasal") ?
|
|
|
Command.tempbasal : Command.bolus
|
|
Command.tempbasal : Command.bolus
|
|
|
VStack {
|
|
VStack {
|
|
|
- Text(type).font(.caption2).foregroundStyle(Color(.tempBasal))
|
|
|
|
|
|
|
+ Text(type).font(.caption2).foregroundStyle(.orange)
|
|
|
Image("owl").resizable().frame(maxWidth: Config.owlSeize, maxHeight: Config.owlSeize).scaledToFill()
|
|
Image("owl").resizable().frame(maxWidth: Config.owlSeize, maxHeight: Config.owlSeize).scaledToFill()
|
|
|
}.position(position).asAny()
|
|
}.position(position).asAny()
|
|
|
}
|
|
}
|