SwiftUI Canvas

Hi everyone, I think this is a simple issue. I got the following error message"

"PreviewDevice is ignored in a #Preview macro. Use the device picker at the bottom of the Canvas to change which device type is used for the preview. (from macro 'Preview')"

after this line:

".previewDevice(PreviewDevice(rawValue: "iPhone 17 Pro"))"

But in my Canvas I do not see the device picker.

Thank you.

SwiftUI Canvas
 
 
Q