Hello, I have the following code:
.sheet(isPresented: $viewModel.isExerciseSelected) {
ExerciseEditSheetView(viewModel: viewModel)
.presentationDetents([.fraction(0.4)])
}
This code correctly sizes the sheet on my iOS 18 simulator, but does not work on my iOS 17 simulator as well as my actual phone running iOS 17. Instead the sheet always fullscreens. Although its not the end of the world it is pretty annoying. Is there anything I'm missing? Thanks in advance.