diff --git a/PAWS/ECGRecordings/ECGModule.swift b/PAWS/ECGRecordings/ECGModule.swift index 5f925dca..49b5e144 100644 --- a/PAWS/ECGRecordings/ECGModule.swift +++ b/PAWS/ECGRecordings/ECGModule.swift @@ -13,7 +13,6 @@ import Spezi @Observable class ECGModule: Module, DefaultInitializable, EnvironmentAccessible { var hkElectrocardiograms: [HKElectrocardiogram] = [] - var vo2Samples: [HKQuantitySample] = [] /// Creates an instance of a ``MockWebService``. diff --git a/PAWS/ECGRecordings/ECGRecording.swift b/PAWS/ECGRecordings/ECGRecording.swift index 015dcfd4..432b12d9 100644 --- a/PAWS/ECGRecordings/ECGRecording.swift +++ b/PAWS/ECGRecordings/ECGRecording.swift @@ -37,7 +37,6 @@ struct ECGRecording: View { } self.symptoms = symptoms - // manually query for active calories } } } diff --git a/PAWS/PAWSStandard.swift b/PAWS/PAWSStandard.swift index f7920bf9..51a5c347 100644 --- a/PAWS/PAWSStandard.swift +++ b/PAWS/PAWSStandard.swift @@ -70,9 +70,6 @@ actor PAWSStandard: Standard, EnvironmentAccessible, HealthKitConstraint, Onboar func add(sample: HKSample) async { if let hkElectrocardiogram = sample as? HKElectrocardiogram { ecgStorage.hkElectrocardiograms.append(hkElectrocardiogram) - } else if let vo2Sample = sample as? HKQuantitySample, - vo2Sample.quantityType.identifier == HKQuantityTypeIdentifier.vo2Max.rawValue { - ecgStorage.vo2Samples.append(vo2Sample) } if let mockWebService {