chore: upgrade ktlint to 1.8.0 and format codebase (#1024)
Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
@@ -328,10 +328,9 @@ private fun ApprovedCard(
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun formatAge(ageMinutes: Int): String {
|
||||
return if (ageMinutes < 60) {
|
||||
private fun formatAge(ageMinutes: Int): String =
|
||||
if (ageMinutes < 60) {
|
||||
stringResource(R.string.pairing_label_request_age_m, ageMinutes)
|
||||
} else {
|
||||
stringResource(R.string.pairing_label_request_age_hm, ageMinutes / 60, ageMinutes % 60)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user