79084743

Date: 2024-10-14 04:58:45
Score: 0.5
Natty:
Report link

You are using a val which can only be set to a value once, instead of a var which allows the value to be updated multiple times.

OPTIONAL: instead of this:

val textX = remember{ mutableStateOf("Text")}

Use the by setter:

val textX by remember{ mutableStateOf("Text")}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert Jamison