OFFLINE FEATURE ADDED- DB VERSION CHANGE
This commit is contained in:
@@ -321,13 +321,13 @@ class HemoCubeFragment : Fragment() {
|
|||||||
putString(Constants.DEVICE_ID, deviceSerialNo)
|
putString(Constants.DEVICE_ID, deviceSerialNo)
|
||||||
apply()
|
apply()
|
||||||
}
|
}
|
||||||
val loginId = sharedPreferences.getString(Constants.USER_ID, "").toString()
|
loginId = sharedPreferences.getString(Constants.USER_ID, "").toString()
|
||||||
if (checkDeviceIdMismatch(deviceSerialNo, loginId)) {
|
// if (checkDeviceIdMismatch(deviceSerialNo, loginId)) {
|
||||||
activity?.runOnUiThread {
|
// activity?.runOnUiThread {
|
||||||
binding.errorMessage.text = "Warning: Login Id is different"
|
// binding.errorMessage.text = "Warning: Login Id is different"
|
||||||
binding.errorMessage.visibility = View.VISIBLE
|
// binding.errorMessage.visibility = View.VISIBLE
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
val led1BufferForDevice = if (isUsingExistingBuffer) {
|
val led1BufferForDevice = if (isUsingExistingBuffer) {
|
||||||
sharedPreferences.getString(Constants.BUFFER_VALUE_1, "")?.toDoubleOrNull()
|
sharedPreferences.getString(Constants.BUFFER_VALUE_1, "")?.toDoubleOrNull()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user