From f3a6a7a639b8b2a33f8ce0c63bbe360f8d5d8e08 Mon Sep 17 00:00:00 2001 From: Tieda Wei Date: Thu, 12 May 2022 09:56:28 -0400 Subject: [PATCH] improve commnet --- Sources/BottomSheet/BottomSheet.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BottomSheet/BottomSheet.swift b/Sources/BottomSheet/BottomSheet.swift index 46a9644..ca35f9e 100644 --- a/Sources/BottomSheet/BottomSheet.swift +++ b/Sources/BottomSheet/BottomSheet.swift @@ -95,7 +95,7 @@ public struct BottomSheet: 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