Francis Mariano
07/31/2023, 8:45 PMdata class State(
val channel01: Boolean = true,
val channel02: Boolean = false,
val chain: Boolean = false,
val effect: Effect = Effect(
num = 0x02, velocity = 25f, repeat = 100f, back = false,
primaryColor = Color.Red, secondaryColor = Color.Green, thirdColor = Color.Blue,
),
val effectScreen: List<EffectScreen> = getEffectNormalScreen(),
)
I have an intent to change the effect.num property. With the log is possible to check that the intent is called and dispatcher as well because the state is updated. But the store is not emitting the new state in the stateFlow. I am monitoring the stateFlow in the component of the store and it is logged just when I changed other property, but it is possible to see that state.num is different. The log is in the image attached.Arkadii Ivanov
07/31/2023, 9:31 PMFrancis Mariano
07/31/2023, 9:42 PM