Skip to content

Commit afaddec

Browse files
committed
Lint
1 parent 398efdc commit afaddec

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/charging_station_capacity/AddChargingStationCapacityForm.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ class AddChargingStationCapacityForm : AAddCountInput() {
77
override val iconId = R.drawable.ic_electric_car
88
override val initialCount get() = element.tags["capacity"]?.toIntOrNull()
99
}
10-

app/src/androidMain/kotlin/de/westnordost/streetcomplete/screens/main/teammode/TeamModeWizard.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ private fun TeamSizeIllustration(teamSize: Int, maxTeamSize: Int, selectedIndex:
276276
exit = fadeOut()
277277
) {
278278
val colorFilter = if (hasSelection) ColorFilter.saturation(animatedSelected) else null
279-
val hand = Res.allDrawableResources["team_size_${i+1}"]
279+
val hand = Res.allDrawableResources["team_size_${i + 1}"]
280280
if (hand != null) {
281281
Image(
282282
painter = painterResource(hand),

app/src/androidMain/kotlin/de/westnordost/streetcomplete/ui/common/CountInput.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ fun CountInput(
3737
modifier = modifier,
3838
verticalAlignment = Alignment.CenterVertically,
3939
horizontalArrangement = Arrangement.spacedBy(16.dp),
40-
){
40+
) {
4141
OutlinedTextField(
4242
value = count?.toString().orEmpty(),
4343
onValueChange = { newText: String ->
4444
if (newText.isEmpty()) {
4545
onCountChange(null)
46-
}
47-
else {
46+
} else {
4847
newText.toIntOrNull()?.let { onCountChange(it) }
4948
}
5049
},

0 commit comments

Comments
 (0)