Skip to content

Commit

Permalink
Fix Issue #2643: Hide cashflow label when hide balance option is sele…
Browse files Browse the repository at this point in the history
…cted (#2668)
  • Loading branch information
luispacheco-dev committed Sep 23, 2023
1 parent 20d8480 commit e7201a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen-home/src/main/java/com/ivy/home/HomeHeader.kt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fun CashFlowInfo(
)

val cashflow = monthlyIncome - monthlyExpenses
if (cashflow != 0.0) {
if (cashflow != 0.0 && !hideCurrentBalance) {
Spacer(Modifier.height(12.dp))

Text(
Expand Down

0 comments on commit e7201a1

Please sign in to comment.