Scan to open on your phone
Point a camera at the QR code - it opens this exact paste, no app needed.
https://codepastes.com/zzgs6ckph27tmq26untitledPlain Text
PrestigeCleanMainContent(
idUsuario = idUsuario,
nombreCompleto = nombreCompletoUsuario,
rol = rolUsuario,
onCerrarSesion = {
if (!isLoading) {
scope.launch {
isLoading = true
try {
LoginService().cerrarSesion()
mostrarMenu = false
mostrarSplashPrestige = false
idUsuario = ""
nombreCompletoUsuario = ""
rolUsuario = ""
errorMessage = null
} catch (e: Exception) {
Toast.makeText(
context,
e.message ?: "No se pudo cerrar la sesión",
Toast.LENGTH_LONG
).show()
} finally {
isLoading = false
}
}
}
}
)1,255 chars · codepastes.com