Skip to content

Commit

Permalink
Minor UI fix for CexDeposit module
Browse files Browse the repository at this point in the history
  • Loading branch information
ealymbaev committed Jul 27, 2023
1 parent 48e127d commit a7687af
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ extension CexDepositViewController: SectionsDataSource {
}

if let memo {
let isLast = itemCount == mainRows.count + 1

mainRows.append(
CellBuilderNew.row(
rootElement: .hStack([
Expand All @@ -236,7 +238,7 @@ extension CexDepositViewController: SectionsDataSource {
id: "memo",
height: .heightCell48,
bind: { cell in
cell.set(backgroundStyle: .lawrence, isLast: itemCount == mainRows.count + 1)
cell.set(backgroundStyle: .lawrence, isLast: isLast)
}
)
)
Expand Down

0 comments on commit a7687af

Please sign in to comment.