Kaynağa Gözat

increase chart height

polscm32 2 yıl önce
ebeveyn
işleme
20ad8caa04

+ 1 - 1
FreeAPS/Sources/Services/LiveActivity/LiveActivityBridge.swift

@@ -211,7 +211,7 @@ extension LiveActivityBridge: GlucoseObserver {
         defer {
             self.latestGlucose = glucose.last
         }
-        
+
 //        let last72Glucose = Array(glucose.dropLast().suffix(72))
         let coreDataStorage = CoreDataStorage()
 

+ 1 - 1
LiveActivity/LiveActivity.swift

@@ -138,7 +138,7 @@ struct LiveActivity: Widget {
                 DynamicIslandExpandedRegion(.bottom) {
                     updatedLabel(context: context).font(.caption).foregroundStyle(Color.secondary)
                         .padding(.bottom, 5)
-                    chart(context: context)
+                    chart(context: context).frame(height: 70)
                 }
             } compactLeading: {
                 HStack(spacing: 1) {