File tree Expand file tree Collapse file tree 7 files changed +3
-7
lines changed
app/src/main/java/de/westnordost/streetcomplete Expand file tree Collapse file tree 7 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
package de.westnordost.streetcomplete.screens.about
2
2
3
3
import android.content.res.Resources
4
- import androidx.compose.runtime.Immutable
5
4
import androidx.compose.runtime.Stable
6
5
import androidx.lifecycle.ViewModel
7
6
import de.westnordost.streetcomplete.R
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import androidx.compose.animation.slideInHorizontally
9
9
import androidx.compose.animation.slideOutHorizontally
10
10
import androidx.compose.foundation.Image
11
11
import androidx.compose.foundation.clickable
12
- import androidx.compose.foundation.interaction.MutableInteractionSource
13
12
import androidx.compose.foundation.layout.Arrangement
14
13
import androidx.compose.foundation.layout.Box
15
14
import androidx.compose.foundation.layout.Column
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import androidx.compose.animation.core.Animatable
4
4
import androidx.compose.animation.core.LinearEasing
5
5
import androidx.compose.animation.core.tween
6
6
import androidx.compose.foundation.clickable
7
- import androidx.compose.foundation.interaction.MutableInteractionSource
8
7
import androidx.compose.foundation.layout.BoxWithConstraints
9
8
import androidx.compose.foundation.layout.ExperimentalLayoutApi
10
9
import androidx.compose.foundation.layout.fillMaxHeight
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import androidx.compose.animation.core.Animatable
4
4
import androidx.compose.animation.core.tween
5
5
import androidx.compose.foundation.Image
6
6
import androidx.compose.foundation.clickable
7
- import androidx.compose.foundation.interaction.MutableInteractionSource
8
7
import androidx.compose.foundation.layout.Arrangement
9
8
import androidx.compose.foundation.layout.Box
10
9
import androidx.compose.foundation.layout.BoxScope
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ fun <T> WheelPicker(
123
123
) {
124
124
items(
125
125
count = items.size,
126
- key = if (key != null ) { { key(items[it]) } } else null
126
+ key = if (key != null ) { { key(items[it]) } } else { null }
127
127
) { index ->
128
128
Box (
129
129
contentAlignment = Alignment .Center ,
Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ fun ScrollableAlertDialog(
62
62
.conditional(width != null ) { width(width!! ) }
63
63
.conditional(height != null ) { height(height!! ) },
64
64
title = title,
65
- content = if (content != null ) {{
65
+ content = if (content != null ) { {
66
66
Divider ()
67
67
Column (Modifier .weight(1f )) { content() }
68
68
Divider ()
69
- }} else null ,
69
+ } } else { null } ,
70
70
buttons = buttons,
71
71
shape = shape,
72
72
backgroundColor = backgroundColor,
You can’t perform that action at this time.
0 commit comments