RadarCOVID / radar-covid-android

Native Android app using DP^3T Android sdk to handle Exposure Notifications API from Google
Mozilla Public License 2.0
382 stars 84 forks source link

Fix #8: Curly braces should be used on conditionals #14

Closed febrezo closed 3 years ago

febrezo commented 3 years ago

This only updates the conditional statements to meet the standards proposed by another user in #8 following the Kotlin guidelines. The application builds as expected.

As a side note, Kotlin files to be modified were discovered using:

egrep "if \([^{]+)$" ./* -r -n
avecina commented 3 years ago

This is a coding style decision and this contribution is not affecting the code readability in an objective way. Thanks for your suggestion.