Implemented that no error message gets displayed if user cancelled transferring money
This commit is contained in:
parent
c8fdb817ad
commit
11b55a6ecc
|
@ -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 ?? "")."))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue