-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In the usage example in the readMe, you use:
val zoomState by remember { ZoomState(pinchZoomEnabled = true) }
I think the intent is:
val zoomState:ZoomState = remember{ ZoomState(true) }
edit: Since a lot of these things, like preview in particular, are nullable and it's useful to change their value later, I'm thinking the original intent was probably:
var zoomState by remember { mutableStateOf(ZoomState(pinchZoomEnabled = true)) }
My only real purpose here is to say that there looks like a versioning issue where either an "=" got switched with a "by" or the mutableStateOf() got dropped.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels