Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Reorder Button Issue
Browse files Browse the repository at this point in the history
Reorder Button Issue
  • Loading branch information
sandeepjak2007 committed Feb 9, 2024
1 parent 5f2dbb4 commit 83b3f45
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions screen/accounts/src/main/java/com/ivy/accounts/AccountsTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@ private fun BoxWithConstraintsScope.UI(
fontWeight = FontWeight.ExtraBold
)
)

Spacer(Modifier.height(16.dp))

IncomeExpensesRow(
currency = state.baseCurrency,
incomeLabel = stringResource(id = R.string.total_balance),
income = state.totalBalanceWithoutExcluded.toDoubleOrNull() ?: 0.00,
expensesLabel = stringResource(id = R.string.total_balance_excluded),
expenses = state.totalBalanceWithExcluded.toDoubleOrNull() ?: 0.00
)
}

Spacer(Modifier.weight(1f))
Expand All @@ -128,7 +118,16 @@ private fun BoxWithConstraintsScope.UI(

Spacer(Modifier.width(24.dp))
}

Column {
Spacer(Modifier.height(16.dp))
IncomeExpensesRow(
currency = state.baseCurrency,
incomeLabel = stringResource(id = R.string.total_balance),
income = state.totalBalanceWithoutExcluded.toDoubleOrNull() ?: 0.00,
expensesLabel = stringResource(id = R.string.total_balance_excluded),
expenses = state.totalBalanceWithExcluded.toDoubleOrNull() ?: 0.00
)
}
Spacer(Modifier.height(16.dp))
}
items(state.accountsData) {
Expand Down

0 comments on commit 83b3f45

Please sign in to comment.