Skip to content

Commit 5f47797

Browse files
committed
Use font weights by names
1 parent beed4a6 commit 5f47797

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/hub/depositsummary/PaymentsHubDepositSummaryScreen.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private fun FundsOverview(
174174
)
175175
Text(
176176
style = MaterialTheme.typography.h6,
177-
fontWeight = FontWeight(700),
177+
fontWeight = FontWeight.Bold,
178178
text = currencyInfo.availableFunds,
179179
color = colorResource(id = R.color.color_on_surface)
180180
)
@@ -190,7 +190,7 @@ private fun FundsOverview(
190190
)
191191
Text(
192192
style = MaterialTheme.typography.h6,
193-
fontWeight = FontWeight(700),
193+
fontWeight = FontWeight.Bold,
194194
text = currencyInfo.pendingFunds,
195195
color = colorResource(id = R.color.color_on_surface)
196196
)
@@ -464,7 +464,7 @@ private fun CurrenciesTabs(
464464
Text(
465465
style = MaterialTheme.typography.body1,
466466
text = title,
467-
fontWeight = if (isSelected) FontWeight(600) else FontWeight(400),
467+
fontWeight = if (isSelected) FontWeight.SemiBold else FontWeight.Normal,
468468
color = if (isSelected) {
469469
colorResource(id = R.color.color_primary)
470470
} else {

0 commit comments

Comments
 (0)