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