Fixed validating BIC

This commit is contained in:
dankito 2020-08-24 13:45:19 +02:00
parent f3d7afc376
commit 34d5fcb52d
1 changed files with 1 additions and 2 deletions

View File

@ -235,8 +235,7 @@ struct TransferMoneyDialog: View {
} }
} }
// TODO: implement a better check if entered BIC is valid (e.g. if format is ABCDDEXX123) self.isValidRemitteeBicEntered = inputValidator.validateBic(bicToTest: remitteeBic).validationSuccessful
self.isValidRemitteeBicEntered = self.remitteeBic.count == 8 || self.remitteeBic.count == 11
} }