From 404f91edd716954ad222aadf88a1d9b05cbedf10 Mon Sep 17 00:00:00 2001 From: Santosh Bhandary Date: Mon, 31 Aug 2020 16:20:02 +0545 Subject: [PATCH] employername optional --- .../existingCustomer/presenter/ExistingKYCV3ViewModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/swifttech/remit/android/features/kyc/existingCustomer/presenter/ExistingKYCV3ViewModel.java b/app/src/main/java/com/swifttech/remit/android/features/kyc/existingCustomer/presenter/ExistingKYCV3ViewModel.java index 81b77db7..f6471b89 100644 --- a/app/src/main/java/com/swifttech/remit/android/features/kyc/existingCustomer/presenter/ExistingKYCV3ViewModel.java +++ b/app/src/main/java/com/swifttech/remit/android/features/kyc/existingCustomer/presenter/ExistingKYCV3ViewModel.java @@ -668,8 +668,8 @@ public class ExistingKYCV3ViewModel extends BaseViewModel implements ExistingKYC customerDetailLiveData.getEmployerNameLiveData().setValue(new FormInputStateDTO<>(true, null, null)); return true; } else { - customerDetailLiveData.getEmployerNameLiveData().setValue(new FormInputStateDTO<>(false, "Invalid Employer Name", null)); - return false; + customerDetailLiveData.getEmployerNameLiveData().setValue(new FormInputStateDTO<>(true, null, null)); + return true; } }