Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct StateFlow not updating with new List
Because the actual List pointer is the same, there is no difference between the value sent to emit and the value still in the StateFlow. To correct this, A new list is created by appending an immutable list with the new value, which is then saved internally and emitted. In response to work done: streetcomplete#5482
- Loading branch information