Skip to content

Commit 6c3bfdf

Browse files
committed
Lint
1 parent dd4514b commit 6c3bfdf

File tree

7 files changed

+3
-7
lines changed

7 files changed

+3
-7
lines changed

app/src/main/java/de/westnordost/streetcomplete/screens/about/CreditsViewModel.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package de.westnordost.streetcomplete.screens.about
22

33
import android.content.res.Resources
4-
import androidx.compose.runtime.Immutable
54
import androidx.compose.runtime.Stable
65
import androidx.lifecycle.ViewModel
76
import de.westnordost.streetcomplete.R

app/src/main/java/de/westnordost/streetcomplete/screens/main/MainScreen.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import androidx.compose.animation.slideInHorizontally
99
import androidx.compose.animation.slideOutHorizontally
1010
import androidx.compose.foundation.Image
1111
import androidx.compose.foundation.clickable
12-
import androidx.compose.foundation.interaction.MutableInteractionSource
1312
import androidx.compose.foundation.layout.Arrangement
1413
import androidx.compose.foundation.layout.Box
1514
import androidx.compose.foundation.layout.Column
File renamed without changes.

app/src/main/java/de/westnordost/streetcomplete/screens/main/messages/QuestSelectionHintDialog.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import androidx.compose.animation.core.Animatable
44
import androidx.compose.animation.core.LinearEasing
55
import androidx.compose.animation.core.tween
66
import androidx.compose.foundation.clickable
7-
import androidx.compose.foundation.interaction.MutableInteractionSource
87
import androidx.compose.foundation.layout.BoxWithConstraints
98
import androidx.compose.foundation.layout.ExperimentalLayoutApi
109
import androidx.compose.foundation.layout.fillMaxHeight

app/src/main/java/de/westnordost/streetcomplete/screens/main/messages/UnreadMessagesDialog.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import androidx.compose.animation.core.Animatable
44
import androidx.compose.animation.core.tween
55
import androidx.compose.foundation.Image
66
import androidx.compose.foundation.clickable
7-
import androidx.compose.foundation.interaction.MutableInteractionSource
87
import androidx.compose.foundation.layout.Arrangement
98
import androidx.compose.foundation.layout.Box
109
import androidx.compose.foundation.layout.BoxScope

app/src/main/java/de/westnordost/streetcomplete/ui/common/WheelPicker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fun <T> WheelPicker(
123123
) {
124124
items(
125125
count = items.size,
126-
key = if (key != null) { { key(items[it]) } } else null
126+
key = if (key != null) { { key(items[it]) } } else { null }
127127
) { index ->
128128
Box(
129129
contentAlignment = Alignment.Center,

app/src/main/java/de/westnordost/streetcomplete/ui/common/dialogs/ScrollableAlertDialog.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ fun ScrollableAlertDialog(
6262
.conditional(width != null) { width(width!!) }
6363
.conditional(height != null) { height(height!!) },
6464
title = title,
65-
content = if (content != null) {{
65+
content = if (content != null) { {
6666
Divider()
6767
Column(Modifier.weight(1f)) { content() }
6868
Divider()
69-
}} else null,
69+
} } else { null },
7070
buttons = buttons,
7171
shape = shape,
7272
backgroundColor = backgroundColor,

0 commit comments

Comments
 (0)