google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 93 forks source link

Calculate a custom tip: Android Basics with Compose #142

Open DarakDuVal opened 11 months ago

DarakDuVal commented 11 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip

In which task and step of the codelab can this issue be found? Set an action button

Describe the problem Previous codelab exercise only has made me write

keyboardOptions = KeyboardOptions(
                keyboardType = KeyboardType.Number,
            ),

instead of

keyboardOptions = KeyboardOptions**.Default.copy**(
                keyboardType = KeyboardType.Number,
            ),

Is it necessary? If so: Is it necessary to explain? (my code is running without it)