changed the condition for fetching device provision details from firebase

This commit is contained in:
Mariya
2024-03-11 13:01:58 +05:30
parent d701ee4f6d
commit d7c1508397

View File

@@ -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(