show classification in screen message before db save

This commit is contained in:
Pritimay Sarkar
2023-09-18 02:01:23 +05:30
parent 515ab24ce6
commit 270cee7a9c

View File

@@ -316,6 +316,7 @@ class HemoCubeFragment : Fragment() {
this.deviceRatio = deviceRatio
this.calculatedRatio = calculateRatio(deviceRatio)
this.classificationResult = findResult(calculatedRatio)
hemoCubeViewModel.messages.postValue(this.classificationResult)
this.resultData = fullReadOutput
if (!isBufferValueAvailable()) {
with(sharedPreferences.edit()) {