فهرست منبع

increase chart height

polscm32 2 سال پیش
والد
کامیت
20ad8caa04
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      FreeAPS/Sources/Services/LiveActivity/LiveActivityBridge.swift
  2. 1 1
      LiveActivity/LiveActivity.swift

+ 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) {