feat: refs #8212 showWarningUdate
This commit is contained in:
parent
e0b148ddfd
commit
54687e2e05
|
@ -157,6 +157,7 @@ class LoginFragment :
|
|||
}
|
||||
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
private fun setSwitch() {
|
||||
|
@ -325,6 +326,8 @@ class LoginFragment :
|
|||
if (binding.edittextServer.text.toString() == "Producción") {
|
||||
mobileApplication.clearApplicationData()
|
||||
}
|
||||
//Tarea 8212 serialMuber is obtaines from back when PDA is registered, updated scaleFusion
|
||||
if (it.serialNumber.isEmpty()) {
|
||||
customDialog.setTitle(getString(R.string.Actualizar))
|
||||
.setDescription(getString(R.string.updatemng)).setOkButton(
|
||||
getString(
|
||||
|
@ -350,6 +353,9 @@ class LoginFragment :
|
|||
}
|
||||
customDialog.show()
|
||||
|
||||
} else {
|
||||
goToMain()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue