-
-
Notifications
You must be signed in to change notification settings - Fork 109
[BUG] "Customizing MCamera Screens" docs is outdated #110
Copy link
Copy link
Open
Labels
Description
Prerequisites
- I checked the documentation and found no answer
- 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
Reactions are currently unavailable