CameraView icon indicating copy to clipboard operation
CameraView copied to clipboard

[BUG] "Customizing MCamera Screens" docs is outdated

Open EliRibble opened this issue 4 months ago • 0 comments

Prerequisites

  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Expected Behavior

The Customizing MCamera Screens should have code that compiles

Current Behavior

As-is, the documentation fails with:

Cannot convert value of type 'CustomCameraScreen' to expected argument type 'CameraScreenBuilder' (aka '@MainActor @Sendable (CameraManager, Namespace.ID, @escaping () -> ()) -> any MCameraScreen')

Looks like setCameraScreen now takes an @escaping CameraScreenBuilder rather than a MCameraScreen

EliRibble avatar Aug 05 '25 19:08 EliRibble