From 17724f536aaed28d8b319c26e941ff90bd3f2509 Mon Sep 17 00:00:00 2001 From: Magnus Reintz <90277542+t1dude@users.noreply.github.com> Date: Sun, 4 Aug 2024 18:09:22 +0200 Subject: [PATCH] Merge pull request #370 from MikePlante1/ah_warning Add AH warning --- .../Modules/HealthKit/View/AppleHealthKitRootView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift b/FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift index 0134eff38..93d31939e 100644 --- a/FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift +++ b/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")