Added that fetching all transactions requires TAN. Otherwise user may be confused why enter TAN dialog pops up.
This commit is contained in:
parent
7204ddd90e
commit
db3a87b0c4
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue