From d1519d33c21a696fc23328ff1f5455a739b45449 Mon Sep 17 00:00:00 2001 From: Preyea Regmi Date: Fri, 29 May 2020 17:33:04 +0545 Subject: [PATCH] OTP Txn Request fixes in GME Auth --- .idea/caches/build_file_checksums.ser | Bin 715 -> 715 bytes .../auth/GMETxnOTPRequestBottomSheetDialog.java | 4 ++-- .../res/layout/activity_splash_screen_key_0.xml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 26039cc8ce8830d7354b6c18d1512d031526e5db..576958d1e00d665efd45fa4c13304dae92a7dfdb 100644 GIT binary patch delta 15 XcmX@jdYW~@43-45<{um9=raKTG-U={ delta 15 WcmX@jdYW~@43_vFft-zV^qBxLNd>Y1 diff --git a/app/src/main/java/com/gmeremit/online/gmeremittance_native/security/auth/GMETxnOTPRequestBottomSheetDialog.java b/app/src/main/java/com/gmeremit/online/gmeremittance_native/security/auth/GMETxnOTPRequestBottomSheetDialog.java index b25e0f74..38ce59f1 100644 --- a/app/src/main/java/com/gmeremit/online/gmeremittance_native/security/auth/GMETxnOTPRequestBottomSheetDialog.java +++ b/app/src/main/java/com/gmeremit/online/gmeremittance_native/security/auth/GMETxnOTPRequestBottomSheetDialog.java @@ -302,12 +302,12 @@ public class GMETxnOTPRequestBottomSheetDialog extends BottomSheetDialogFragment SharedPreferences sharedPreferences = GmeApplication.getStorage(); String auth = "Bearer " + sharedPreferences.getString(PrefKeys.USER_ACCESS_CODE, ""); - String senderId = sharedPreferences.getString(PrefKeys.USER_ID_NUMBER, ""); + String userId = sharedPreferences.getString(PrefKeys.USER_ID, ""); JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("kftcId", kftcId); jsonObject.addProperty("amount", selectedAmount); - jsonObject.addProperty("userId", senderId); + jsonObject.addProperty("userId", userId); this.compositeDisposable.add( HttpClientV2.getInstance().requestOTPForSendMoney(auth, jsonObject) diff --git a/app/src/main/res/layout/activity_splash_screen_key_0.xml b/app/src/main/res/layout/activity_splash_screen_key_0.xml index 4037bce1..fb612c05 100644 --- a/app/src/main/res/layout/activity_splash_screen_key_0.xml +++ b/app/src/main/res/layout/activity_splash_screen_key_0.xml @@ -452,6 +452,7 @@ android:src="@drawable/ic_chat_bubble" app:backgroundTint="@android:color/white" app:elevation="2dp" + app:tint="@null" app:fabSize="normal" app:layout_constraintEnd_toEndOf="@+id/btn_lgn" app:layout_constraintHorizontal_bias="0.76"