Skip to content

Commit

Permalink
improve commnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieda Wei committed May 12, 2022
1 parent 021dd3a commit f3a6a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BottomSheet/BottomSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public struct BottomSheet<Content: View>: View {
.gesture(
DragGesture()
.onChanged({ (value) in
// ignore gestures while the sheet is hidden. Otherwise it could collide with the iOS-global "go to homescreen"-gesture
// ignore gestures while the sheet is hidden. Otherwise it could collide with the iOS-global "go to home screen"-gesture
guard isPresented else { return }

let offsetY = value.translation.height
Expand Down

0 comments on commit f3a6a7a

Please sign in to comment.