Browse Source

Pin length fixes

new_design
Preyea Regmi 4 years ago
parent
commit
a951f8ae54
  1. 2
      app/src/main/java/com/swifttech/remit/android/features/registerv2/existingcustomer/presenter/ExistingCustomerRegisterV2Presenter.java

2
app/src/main/java/com/swifttech/remit/android/features/registerv2/existingcustomer/presenter/ExistingCustomerRegisterV2Presenter.java

@ -357,7 +357,7 @@ public class ExistingCustomerRegisterV2Presenter extends BaseViewModel implement
}
public boolean validateConfirmPin(CharSequence pin) {
if (pin == null || pin.length() < 1) {
if (pin == null || pin.length() !=6) {
existingRegisterSubmitViewLiveData.setConfirmPinInputLiveData(new FormInputStateDTO<>(false, "Pin must be of 6 digit"));
this.confirmPin = null;
return false;

Loading…
Cancel
Save