Skip to content

Commit 113db83

Browse files
committed
Fixed formatting
1 parent 0267afe commit 113db83

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

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

+11-7
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ private fun AlwaysVisiblePart(
158158
onExpandCollapseClick()
159159
}
160160
.padding(
161-
start = dimensionResource(id = R.dimen.major_100),
162-
end = dimensionResource(id = R.dimen.major_100),
163-
top = dimensionResource(id = R.dimen.major_150),
164-
bottom = dimensionResource(id = R.dimen.major_100)
165-
)
161+
start = dimensionResource(id = R.dimen.major_100),
162+
end = dimensionResource(id = R.dimen.major_100),
163+
top = dimensionResource(id = R.dimen.major_150),
164+
bottom = dimensionResource(id = R.dimen.major_100)
165+
)
166166
) {
167167
Column(
168168
modifier = Modifier.weight(1f)
@@ -226,8 +226,12 @@ private fun AlwaysVisiblePart(
226226
}
227227
}
228228
val dividerPaddingAnimation by animateDpAsState(
229-
if (isExpanded) dimensionResource(id = R.dimen.major_100) else dimensionResource(id = R.dimen.minor_00),
230-
label = "dividerPaddingAnimation"
229+
targetValue = if (isExpanded) {
230+
dimensionResource(id = R.dimen.major_100)
231+
} else {
232+
dimensionResource(id = R.dimen.minor_00)
233+
},
234+
label = "dividerPaddingAnimation"
231235
)
232236

233237
Divider(

0 commit comments

Comments
 (0)