You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm passing selectedIndex binding to PageView and using dynamic items. In initial load the items is not yet loaded with 0 items, the app crash because there is no safety check in func select(index: Int, animated: Bool = false).
Another occurrence is when I dismiss the view selectedIndex is out of bound, not sure why but should check for item count and do safety check.
The text was updated successfully, but these errors were encountered:
I'm passing selectedIndex binding to PageView and using dynamic items. In initial load the items is not yet loaded with 0 items, the app crash because there is no safety check in func select(index: Int, animated: Bool = false).
Another occurrence is when I dismiss the view selectedIndex is out of bound, not sure why but should check for item count and do safety check.
The text was updated successfully, but these errors were encountered: