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

Apache License 2.0
61 stars 93 forks source link

Fixed default tip percentage in tip calculation #192

Closed ghost closed 6 months ago

ghost commented 6 months ago

This commit allows the tip calculation to work correctly when no tip percentage is provided by the user. Previously, if the user left the tip percentage field empty, the calculation would not work as expected.