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"; "%@ transactions" = "%@ transactions";
"Fetch all account transactions" = "Fetch earlier transactions"; "Fetch all account transactions" = "Fetch earlier transactions (requires TAN)";
"Transfer money to %@" = "Transfer money to %@"; "Transfer money to %@" = "Transfer money to %@";
"Could not fetch latest transactions" = "Could not fetch latest transactions"; "Could not fetch latest transactions" = "Could not fetch latest transactions";

View File

@ -53,7 +53,7 @@
"%@ transactions" = "%@ Umsätze"; "%@ 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 %@"; "Transfer money to %@" = "Neue Überweisung an %@";
"Could not fetch latest transactions" = "Umsätze konnte nicht aktualisiert werden"; "Could not fetch latest transactions" = "Umsätze konnte nicht aktualisiert werden";

View File

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