cornerRadius x presentationCornerRadius

Has anyone also had an error experience, on replace cornerRadius, which will be removed, with presentationCornerRadius?

I’m still in module 4 of the fundamentals, as in class 4 it asks to use cornerRadius in conjunction with Frame(height:120), Xcode, shows that CornerRadius will be replaced and one of the options is presentationCornerRadius, when replacing, the image does not follow the frame.

presentationCornerRadius is used where you are presenting a sheet and you want to apply a corner radius to that sheet.

As per the Developer documentation:

struct ContentView: View {
    @State private var showSettings = false


    var body: some View {
        Button("View Settings") {
            showSettings = true
        }
        .sheet(isPresented: $showSettings) {
            SettingsView()
                .presentationDetents([.medium, .large])
                .presentationCornerRadius
        }
    }
}

It might help if you post the code you are dealing with so that we can offer a potential solution. Unfortunately Swift and Xcode are changing rapidly so some modifiers are being deprecated in favour of newer ways or better ways of doing things.