Skip to content

Commit

Permalink
Remove extraneous lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewTurk247 committed Feb 7, 2024
1 parent 705f7c7 commit 3b38934
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion PAWS/ECGRecordings/ECGModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Spezi
@Observable
class ECGModule: Module, DefaultInitializable, EnvironmentAccessible {
var hkElectrocardiograms: [HKElectrocardiogram] = []
var vo2Samples: [HKQuantitySample] = []


/// Creates an instance of a ``MockWebService``.
Expand Down
1 change: 0 additions & 1 deletion PAWS/ECGRecordings/ECGRecording.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ struct ECGRecording: View {
}

self.symptoms = symptoms
// manually query for active calories
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions PAWS/PAWSStandard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3b38934

Please sign in to comment.