Skip to content

Commit

Permalink
fix swiflint trailing closure
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmyveradin committed Aug 16, 2024
1 parent 8a5b8f0 commit fdfbc5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/OTPKit/TripPlannerExtensionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ public struct TripPlannerExtensionView<MapContent: View>: View {
}
.sheet(isPresented: tripPlanner.isStepsViewPresentedBinding, onDismiss: {
tripPlanner.resetTripPlanner()
}) {
}, content: {
DirectionSheetView(sheetDetent: $directionSheetDetent)
.presentationDetents([.fraction(0.2), .medium, .large], selection: $directionSheetDetent)
.interactiveDismissDisabled()
.presentationBackgroundInteraction(.enabled(upThrough: .fraction(0.2)))
}
})

overlayContent
}
Expand Down

0 comments on commit fdfbc5b

Please sign in to comment.