feat: refs #8212 showWarningUdate

This commit is contained in:
Sergio De la torre 2025-02-20 09:48:08 +01:00
parent e0b148ddfd
commit 54687e2e05
1 changed files with 27 additions and 21 deletions

View File

@ -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()
}
}
}