There is an off by one bug in ViewBuilder:switch{}.
For example, with two entries writing .value property requires a 1 or 2, however when reading it will return 0 or 1.
There is an off by one bug in ViewBuilder:switch{}.
For example, with two entries writing .value property requires a 1 or 2, however when reading it will return 0 or 1.
Thanks. Wonder how we could have missed this one. Fixed for the next update…