Showing update all accounts navigation bar button now on the right (to be consistent with update selected accounts)

This commit is contained in:
dankito 2020-09-30 04:40:43 +02:00
parent 31cc59c88e
commit 210ca5a41f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ struct AccountsDialog: View {
} }
.systemGroupedBackground() .systemGroupedBackground()
.showNavigationBarTitle("Accounts") .showNavigationBarTitle("Accounts")
.navigationBarItems(leading: data.hasAtLeastOneAccountBeenAdded == false ? nil : UpdateButton { _, executingDone in .navigationBarItems(trailing: data.hasAtLeastOneAccountBeenAdded == false ? nil : UpdateButton { _, executingDone in
self.presenter.updateAllAccountsTransactionsAsync { _ in executingDone() } self.presenter.updateAllAccountsTransactionsAsync { _ in executingDone() }
}) })
} }