From d7c1508397cd48adfafde4ee4e80d016b2dd096d Mon Sep 17 00:00:00 2001 From: Mariya Date: Mon, 11 Mar 2024 13:01:58 +0530 Subject: [PATCH] changed the condition for fetching device provision details from firebase --- .../example/hpostesting/presentation/dashboard/HomeFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt b/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt index 52d3c3a..2715918 100644 --- a/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt +++ b/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt @@ -324,7 +324,7 @@ class HomeFragment : Fragment() { hemoCubeViewModel.login(createLoginRequestData(userID, password)) } } - } else if (userID == "deviceIDAPI" && password == "devicePasswordAPI" && deviceId.isNotEmpty()) { + } else if (userID == "" && password == "" && deviceId.isNotEmpty()) { fetchDeviceCredentials() } else { Toast.makeText(