@ -78,7 +78,7 @@ class SendViewController: FormViewController {
func send() {
let errors = form.validate()
guard !errors.isEmpty else { return }
guard errors.isEmpty else { return }
let addressString = (form.rowBy(tag: Values.address) as? TextFloatLabelRow)?.value ?? ""
let amountString = (form.rowBy(tag: Values.amount) as? TextFloatLabelRow)?.value ?? ""
@ -54,7 +54,7 @@ class CreateWalletViewController: FormViewController {
$0.title = $0.tag
}.onCellSelection { [unowned self] (_, row) in
let validatedError = row.section?.form?.validate()
guard let errors = validatedError, !errors.isEmpty else { return }
guard let errors = validatedError, errors.isEmpty else { return }
self.startImport()
}
@ -48,7 +48,7 @@ class ImportWalletViewController: FormViewController {
self.importWallet()