Added that fetching all transactions requires TAN. Otherwise user may be confused why enter TAN dialog pops up.

This commit is contained in:
dankito 2020-09-03 11:52:20 +02:00
parent 7204ddd90e
commit db3a87b0c4
3 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@
"%@ transactions" = "%@ transactions";
"Fetch all account transactions" = "Fetch earlier transactions";
"Fetch all account transactions" = "Fetch earlier transactions (requires TAN)";
"Transfer money to %@" = "Transfer money to %@";
"Could not fetch latest transactions" = "Could not fetch latest transactions";

View File

@ -53,7 +53,7 @@
"%@ transactions" = "%@ Umsätze";
"Fetch all account transactions" = "Ältere Umsätze holen";
"Fetch all account transactions" = "Ältere Umsätze laden (erfordert TAN)";
"Transfer money to %@" = "Neue Überweisung an %@";
"Could not fetch latest transactions" = "Umsätze konnte nicht aktualisiert werden";

View File

@ -126,15 +126,15 @@ struct AccountTransactionsDialog: View {
Spacer()
HStack(alignment: .center) {
Button("x") {
self.showFetchAllTransactionsOverlay = false
Button(action: { self.showFetchAllTransactionsOverlay = false }) {
Text("x")
.bold()
}
.font(.title)
Spacer()
Button("Fetch all account transactions") {
self.fetchAllTransactions(self.accountsForWhichNotAllTransactionsHaveBeenFetched)
Button(action: { self.fetchAllTransactions(self.accountsForWhichNotAllTransactionsHaveBeenFetched) }) {
Text("Fetch all account transactions")
}
Spacer()