Skip to content

Commit 8e63181

Browse files
Merge pull request #14579 from woocommerce/issue/WOOMOB-12-enhance-selected-shipping-package-ui
[Shipping Labels] Enhance selected shipping package UI
2 parents 9504090 + 03c95fd commit 8e63181

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
-----
66
- [Internal] Migration to POS specific product model [https://github.com/woocommerce/woocommerce-android/pull/14598]
77
- [*] Enhance the shipping label creation screen by making the selected hazardous box tappable [https://github.com/woocommerce/woocommerce-android/pull/14576]
8+
- [*] Shipping Labels: Enhance selected package UI in the create shipping label flow [https://github.com/woocommerce/woocommerce-android/pull/14579]
89

910
23.2
1011
-----

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/WooShippingLabelCreationScreen.kt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import androidx.compose.runtime.rememberCoroutineScope
4949
import androidx.compose.runtime.setValue
5050
import androidx.compose.ui.Alignment
5151
import androidx.compose.ui.Modifier
52+
import androidx.compose.ui.draw.clip
5253
import androidx.compose.ui.platform.LocalContext
5354
import androidx.compose.ui.res.colorResource
5455
import androidx.compose.ui.res.dimensionResource
@@ -722,12 +723,10 @@ private fun PackageSelectionAvailableCard(
722723
Column(
723724
modifier = Modifier
724725
.fillMaxWidth()
725-
.border(
726-
width = 1.dp,
727-
color = colorResource(id = R.color.divider_color),
728-
shape = RoundedCornerShape(8.dp)
729-
)
730-
.padding(dimensionResource(id = R.dimen.major_125)),
726+
.clip(RoundedCornerShape(8.dp))
727+
.clickable(onClick = onSelectPackageClick)
728+
.background(color = colorResource(R.color.light_colored_button_background))
729+
.padding(16.dp),
731730
) {
732731
Row(
733732
verticalAlignment = Alignment.CenterVertically,

0 commit comments

Comments
 (0)