Reset mutableStateOf if the initial value changes - Jetpack Compose
I am new to Jetpack Compose and I just started trying it out by creating a timer application but I ran into a problem.
In my application each task has a different duration and after one of them is finished (the time has elapsed) then the next one should start. My problem is that my app works correctly only for the first task. After the first task is finished and the second one should be displayed the task title and description changes but the timer's countdown value remains 0, it doesn't...