瀏覽代碼

Add AH warning

Mike Plante 1 年之前
父節點
當前提交
49a6d12553
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift

+ 8 - 0
FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift

@@ -9,6 +9,14 @@ extension AppleHealthKit {
         var body: some View {
             Form {
                 Section {
+                    HStack {
+                        Image(systemName: "exclamationmark.triangle")
+                        Text(
+                            "Connecting to Apple Health will use an excessive amount of storage and may cause Apple Health to lag. This will be improved in a future release."
+                        )
+                        .font(.caption)
+                    }
+                    .foregroundColor(Color.secondary)
                     Toggle("Connect to Apple Health", isOn: $state.useAppleHealth)
                     HStack {
                         Image(systemName: "pencil.circle.fill")