Skip to content

Commit

Permalink
Fix closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jun 25, 2024
1 parent 1c6450f commit c66bcea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public struct MeasurementRecordedSheet: View {


/// Create a new measurement sheet.
public init(save saveSamples: @escaping ([HKSample]) -> Void) {
public init(save saveSamples: @escaping ([HKSample]) async throws -> Void) {
self.saveSamples = saveSamples
}
}
Expand Down

0 comments on commit c66bcea

Please sign in to comment.