File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
wearapp/src/main/java/com/thewizrd/simpleweather/ui/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ package com.thewizrd.simpleweather.ui.components
2
2
3
3
import androidx.compose.foundation.Image
4
4
import androidx.compose.foundation.layout.fillMaxWidth
5
+ import androidx.compose.foundation.layout.height
5
6
import androidx.compose.foundation.layout.size
6
- import androidx.compose.foundation.layout.wrapContentHeight
7
7
import androidx.compose.foundation.layout.wrapContentSize
8
8
import androidx.compose.runtime.Composable
9
9
import androidx.compose.ui.Alignment
10
10
import androidx.compose.ui.Modifier
11
11
import androidx.compose.ui.draw.rotate
12
12
import androidx.compose.ui.platform.LocalInspectionMode
13
13
import androidx.compose.ui.res.painterResource
14
+ import androidx.compose.ui.unit.dp
14
15
import androidx.wear.compose.material.Chip
15
16
import androidx.wear.compose.material.ChipDefaults
16
17
import androidx.wear.compose.material.Text
@@ -31,7 +32,7 @@ fun WeatherDetailItem(
31
32
Chip (
32
33
modifier = Modifier
33
34
.fillMaxWidth()
34
- .wrapContentHeight( ),
35
+ .height( 60 .dp ),
35
36
label = {
36
37
Text (
37
38
text = spannableStringToAnnotatedString(model.label)
You can’t perform that action at this time.
0 commit comments