Преглед на файлове

Merge pull request #370 from MikePlante1/ah_warning

Add AH warning
Magnus Reintz преди 1 година
родител
ревизия
4f080cfdc2
променени са 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")