Skip to content

Commit

Permalink
Ajustar botones envites
Browse files Browse the repository at this point in the history
  • Loading branch information
RodAlc24 committed Aug 23, 2024
1 parent d24c0ac commit aa0ec2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/com/rodalc/amarracos/mus/PantallaMus.kt
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,9 @@ fun BotonesPareja(
onClick = {
Mus.pushState()
if (buenos) {
viewModel.updateBuenos(pareja.copy(puntos = pareja.puntos + 5))
viewModel.updateBuenos(pareja.copy(puntos = pareja.puntos + 1))
} else {
viewModel.updateMalos(pareja.copy(puntos = pareja.puntos + 5))
viewModel.updateMalos(pareja.copy(puntos = pareja.puntos + 1))
}
Mus.saveState(context)
}
Expand Down Expand Up @@ -622,10 +622,10 @@ fun BotonesEnvite(
.clickable(
onClick = {
Mus.pushState()
updateEnvite(envite + 5)
updateEnvite(envite + 2)
Mus.saveState(context)
},
enabled = envite < 95
enabled = envite < 98
)
)
}
Expand Down

0 comments on commit aa0ec2a

Please sign in to comment.