Bläddra i källkod

Merge pull request #370 from MikePlante1/ah_warning

Add AH warning
Magnus Reintz 1 år sedan
förälder
incheckning
4f080cfdc2
1 ändrade filer med 8 tillägg och 0 borttagningar
  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")