|
|
@ -110,19 +110,15 @@ public class BankAccountValidationV2Presenter extends BasePresenter implements B |
|
|
|
} |
|
|
|
|
|
|
|
private boolean validateAll() { |
|
|
|
boolean result = false; |
|
|
|
boolean result = true; |
|
|
|
if (selectedLanguage != null) { |
|
|
|
|
|
|
|
view.showLanguageError(null); |
|
|
|
result = true; |
|
|
|
} else { |
|
|
|
view.showLanguageError(getStringfromStringId(R.string.language_not_selected_error)); |
|
|
|
result = false; |
|
|
|
} |
|
|
|
if (selectedBank != null) { |
|
|
|
|
|
|
|
view.showBankError(null); |
|
|
|
result = true; |
|
|
|
} else { |
|
|
|
view.showBankError(getStringfromStringId(R.string.bank_empty_error)); |
|
|
|
result = false; |
|
|
@ -130,7 +126,6 @@ public class BankAccountValidationV2Presenter extends BasePresenter implements B |
|
|
|
} |
|
|
|
if (selectedAccountNumber != null && selectedAccountNumber.length() > 0) { |
|
|
|
view.showAccountError(null); |
|
|
|
result = true; |
|
|
|
} else { |
|
|
|
view.showAccountError(getStringfromStringId(R.string.account_number_empty_error)); |
|
|
|
result = false; |
|
|
|