If accounts are added showing "Alle Konten" instead of "Bankmeister"

This commit is contained in:
dankito 2024-10-04 09:06:24 +02:00
parent a532130fcb
commit cd8f8a32e6
1 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,11 @@ fun BottomBar(showMenuDrawer: Boolean = true) {
val selectedAccount = transactionsFilter.selectedAccount val selectedAccount = transactionsFilter.selectedAccount
val title = if (selectedAccount == null) { val title = if (selectedAccount == null) {
if (banks.isEmpty()) {
"Bankmeister" "Bankmeister"
} else {
"Alle Konten"
}
} else if (selectedAccount.bankAccount != null) { } else if (selectedAccount.bankAccount != null) {
selectedAccount.bankAccount.displayName selectedAccount.bankAccount.displayName
} else { } else {