Merge pull request #1631 from medici/cug-1-fixes
Fix company name in EPFO page
This commit is contained in:
@@ -221,9 +221,9 @@ class OtpBottomSheet : BaseBottomSheet(), View.OnClickListener {
|
||||
NaviAnalytics.OTP_DISBURSEMENT -> {
|
||||
otpSharedViewModel?.verifyOtp(
|
||||
OtpRequest(
|
||||
binding.otpBoxLayout.getText(),
|
||||
otpToken,
|
||||
otpAutoFill
|
||||
otp = binding.otpBoxLayout.getText(),
|
||||
otpToken = otpToken,
|
||||
otpAutofill = otpAutoFill
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -231,10 +231,10 @@ class OtpBottomSheet : BaseBottomSheet(), View.OnClickListener {
|
||||
startCountDownTimerForApiTimeout(API_TIMEOUT)
|
||||
otpSharedViewModel?.verifyOtpForEPFO(
|
||||
OtpRequest(
|
||||
binding.otpBoxLayout.getText(),
|
||||
otpToken,
|
||||
otpAutoFill,
|
||||
arguments?.getString(KEY_COMPANY_NAME)
|
||||
otp = binding.otpBoxLayout.getText(),
|
||||
otpToken = otpToken,
|
||||
otpAutofill = otpAutoFill,
|
||||
companyName = arguments?.getString(KEY_COMPANY_NAME)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ data class OtpRequest(
|
||||
@SerializedName("otpToken") val otpToken: String? = null,
|
||||
@SerializedName("otpAutofill") val otpAutofill: Boolean? = null,
|
||||
@SerializedName("type") val loginType: String? = null,
|
||||
@SerializedName("companyName") val companyName: String? = null,
|
||||
@SerializedName("truecallerProfileData") val truecallerProfileData: TrueProfileData? = null,
|
||||
@SerializedName("appVersion") val appVersionData: AppVersionData = AppVersionData(
|
||||
BuildConfig.VERSION_CODE.toString(),
|
||||
|
||||
@@ -115,9 +115,9 @@ class TelcoOtpFragment : BaseFragment(), View.OnClickListener {
|
||||
showLoader()
|
||||
viewModel.verifyOtp(
|
||||
OtpRequest(
|
||||
binding.otpBoxLayout.getText(),
|
||||
viewModel.telcoDetails.value?.content?.otpToken,
|
||||
otpAutoFill
|
||||
otp = binding.otpBoxLayout.getText(),
|
||||
otpToken = viewModel.telcoDetails.value?.content?.otpToken,
|
||||
otpAutofill = otpAutoFill
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -128,10 +128,10 @@ class RegistrationVM : BaseVM() {
|
||||
) {
|
||||
val otpRequest =
|
||||
OtpRequest(
|
||||
otp,
|
||||
otpToken,
|
||||
isAutoFetchOtp,
|
||||
loginType,
|
||||
otp = otp,
|
||||
otpToken = otpToken,
|
||||
otpAutofill = isAutoFetchOtp,
|
||||
loginType = loginType,
|
||||
deviceDetail = deviceDetail,
|
||||
source = source
|
||||
)
|
||||
|
||||
@@ -144,7 +144,7 @@ class BankVerificationFragment :
|
||||
|
||||
private fun startCountDown() {
|
||||
if (countDownTimer == null) {
|
||||
countDownTimer = object : CountDownTimer(20000, 3000) {
|
||||
countDownTimer = object : CountDownTimer(120000, 3000) {
|
||||
override fun onTick(millisUntilFinished: Long) {
|
||||
val accessToken =
|
||||
sharedPreferences?.getObject(SharedPreferencesKeys.COMMON_RESPONSE_OBJECT)?.accessToken.toString()
|
||||
|
||||
Reference in New Issue
Block a user