Buffercheck data Database Upload

This commit is contained in:
Mariya
2023-10-11 23:22:11 +05:30
parent 5a7a09817f
commit f8ac0e81ce
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class HemoCubeBufferCheckFragment : Fragment() {
activity?.runOnUiThread {
binding.progressBar.visibility = View.VISIBLE
}
hemoCubeViewModel.uploadHemoCubeResultToDatabaseforbuffercheck(
hemoCubeViewModel.uploadHemoCubeResultToDatabaseforbuffercheckN(
isOnline, true, sharedPreferences.getString(Constants.KIT_NUMBER, "")
)
}

View File

@@ -71,7 +71,7 @@ class HemoCubeViewModel @Inject constructor(
fun uploadHemoCubeResultToDatabaseforbuffercheck(isOnline: Boolean, testStatus: Boolean, kitSerial: String?) =
fun uploadHemoCubeResultToDatabaseforbuffercheckN(isOnline: Boolean, testStatus: Boolean, kitSerial: String?) =
viewModelScope.launch {
if (kitSerial != null) {
testDetails?.kitSerial = kitSerial