Skip to content

[BUG] "Customizing MCamera Screens" docs is outdated #110

@EliRibble

Description

@EliRibble

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions