Remove presentationDetents as default is already large (#826)

This commit is contained in:
Islam
2025-10-19 11:16:57 +02:00
committed by GitHub
parent 40e54a5120
commit 3f00cf9467
5 changed files with 0 additions and 18 deletions
-6
View File
@@ -188,10 +188,6 @@ struct ContentView: View {
)
) {
peopleSheetView
#if os(iOS)
.presentationDetents([.large])
.presentationDragIndicator(.visible)
#endif
}
.sheet(isPresented: $showAppInfo) {
AppInfoView()
@@ -223,8 +219,6 @@ struct ContentView: View {
}
}
}
.presentationDetents([.large])
.presentationDragIndicator(.hidden)
.ignoresSafeArea()
}
#endif