Implemented that no error message gets displayed if user cancelled transferring money

This commit is contained in:
dankito 2020-09-01 15:07:54 +02:00
parent c8fdb817ad
commit 11b55a6ecc
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ struct TransferMoneyDialog: View {
self.presentation.wrappedValue.dismiss()
})
}
else {
else if response.userCancelledAction == false {
self.transferMoneyResponseMessage = Message(message: Text("Could not transfer \(data.amount) \("") to \(data.creditorName). Error: \(response.errorToShowToUser ?? "")."))
}
}