Skip to content

Commit 35c3e40

Browse files
committed
fix(balance): don't close balance sheet before pushing in FAQ when empty
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 0f2333b commit 35c3e40

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/src/main/java/com/getcode/view/main/balance/BalanceSheet.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,7 @@ private fun EmptyTransactionsHint(upPress: () -> Unit, faqOpen: () -> Unit) {
404404
it,
405405
it
406406
)
407-
.firstOrNull()?.let { _ ->
408-
upPress()
409-
faqOpen()
410-
}
407+
.firstOrNull()?.let { _ -> faqOpen() }
411408
}
412409
)
413410
}

0 commit comments

Comments
 (0)