If accounts are added showing "Alle Konten" instead of "Bankmeister"
This commit is contained in:
parent
a532130fcb
commit
cd8f8a32e6
|
@ -66,7 +66,11 @@ fun BottomBar(showMenuDrawer: Boolean = true) {
|
|||
val selectedAccount = transactionsFilter.selectedAccount
|
||||
|
||||
val title = if (selectedAccount == null) {
|
||||
"Bankmeister"
|
||||
if (banks.isEmpty()) {
|
||||
"Bankmeister"
|
||||
} else {
|
||||
"Alle Konten"
|
||||
}
|
||||
} else if (selectedAccount.bankAccount != null) {
|
||||
selectedAccount.bankAccount.displayName
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue