Skip to content

Commit 4eaf543

Browse files
authored
Merge pull request #121 from code-payments/fix/balance-faq-push
fix(balance): don't close balance sheet before pushing in FAQ when empty
2 parents 58160a3 + 35c3e40 commit 4eaf543

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)