Skip to content

Commit 7a2fe79

Browse files
committed
WeatherDetailItem: increase height
1 parent c306481 commit 7a2fe79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wearapp/src/main/java/com/thewizrd/simpleweather/ui/components/WeatherDetailItem.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ package com.thewizrd.simpleweather.ui.components
22

33
import androidx.compose.foundation.Image
44
import androidx.compose.foundation.layout.fillMaxWidth
5+
import androidx.compose.foundation.layout.height
56
import androidx.compose.foundation.layout.size
6-
import androidx.compose.foundation.layout.wrapContentHeight
77
import androidx.compose.foundation.layout.wrapContentSize
88
import androidx.compose.runtime.Composable
99
import androidx.compose.ui.Alignment
1010
import androidx.compose.ui.Modifier
1111
import androidx.compose.ui.draw.rotate
1212
import androidx.compose.ui.platform.LocalInspectionMode
1313
import androidx.compose.ui.res.painterResource
14+
import androidx.compose.ui.unit.dp
1415
import androidx.wear.compose.material.Chip
1516
import androidx.wear.compose.material.ChipDefaults
1617
import androidx.wear.compose.material.Text
@@ -31,7 +32,7 @@ fun WeatherDetailItem(
3132
Chip(
3233
modifier = Modifier
3334
.fillMaxWidth()
34-
.wrapContentHeight(),
35+
.height(60.dp),
3536
label = {
3637
Text(
3738
text = spannableStringToAnnotatedString(model.label)

0 commit comments

Comments
 (0)