accompanist icon indicating copy to clipboard operation
accompanist copied to clipboard

[Permissions] Documentation example doesn't compile (smart cast is impossible)

Open GrahamBorland opened this issue 3 years ago • 0 comments

Description

The camera permission example in the documentation doesn't compile. The attempted smart cast is impossible.

Accompanist versions: 0.25.1, 0.26.2-beta Kotlin version: 1.7.10

Steps to reproduce

Paste in the sample code, and try to compile it.

Expected behavior

Code compiles.

Additional context

CleanShot 2022-08-29 at 18 20 27@2x

GrahamBorland avatar Aug 29 '22 17:08 GrahamBorland