Skip to content

Commit 86c099f

Browse files
committed
Make the switch exhaustive
1 parent da0e08a commit 86c099f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ios/Classes/Extensions+SwiftHealthKitReporterPlugin.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ extension SwiftHealthKitReporterPlugin {
6767
}
6868

6969
switch method {
70+
case .isAvailable:
71+
result(HealthKitReporter.isHealthDataAvailable)
7072
case .requestAuthorization:
7173
guard let arguments = call.arguments as? [String: [String]] else {
7274
throwNoArgumentsError(result: result)

0 commit comments

Comments
 (0)