Skip to content

Commit d03ff2e

Browse files
committed
fix: carousel weight
1 parent a52f238 commit d03ff2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/to/bitkit/ui/screens/widgets/price/PricePreviewScreen.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import to.bitkit.data.dto.price.TradingPair
3434
import to.bitkit.models.widget.PricePreferences
3535
import to.bitkit.ui.components.BodyM
3636
import to.bitkit.ui.components.Caption13Up
37+
import to.bitkit.ui.components.FillHeight
3738
import to.bitkit.ui.components.PrimaryButton
3839
import to.bitkit.ui.components.SecondaryButton
3940
import to.bitkit.ui.components.VerticalSpacer
@@ -150,9 +151,10 @@ fun PricePreviewContent(
150151
priceDTO = priceDTO,
151152
modifier = Modifier
152153
.fillMaxWidth()
154+
.weight(1f)
153155
)
154156
} else {
155-
Box(modifier = Modifier.weight(1f))
157+
FillHeight()
156158
}
157159
}
158160

0 commit comments

Comments
 (0)