In which task and step of the codelab can this issue be found?
Add a swirch
Switch(
modifier = modifier
.fillMaxWidth()
.wrapContentWidth(Alignment.End),
//...
)
Describe the problem
In this part it should be modifier = Modifier.
I also found that problem but, in the main branch you can see the usage of Modifier not modifier.
It seemed to be Codelab problem but I don't know where we can make pull request for a codelab.
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#5
In which task and step of the codelab can this issue be found? Add a swirch Switch( modifier = modifier .fillMaxWidth() .wrapContentWidth(Alignment.End), //... )
Describe the problem In this part it should be modifier = Modifier.
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.