when using `CircularProgressIndicator` the `@Prev...
# compose
u
when using
CircularProgressIndicator
the
@Preview
shows it as it looks a brief moment after the animation starts Basically a tiny bit of the clipped circle, which is confusing at the first sight ("Huh, is it there at all?") Is there a way have it look like 90% of the way?
e
Copy code
if (LocalInspectionMode.current) {
    CircularProgressIndicator(
        progress = 0.9f
    )
} else {
    CircularProgressIndicator()
}
u
okay so I should wrap it
MyCircularProgressIndicator
and make sure to only use that in my codebase?
w
If you are talking about Compose Multiplatform previews, you can vote for FL-24873.
The following example shows that the user does not see the runtime exception that would've been thrown later, all you can see is the first frame of the
CircularProgressIndicator