Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wheel screen back error #122

Open
russbiggs opened this issue May 12, 2021 · 0 comments
Open

wheel screen back error #122

russbiggs opened this issue May 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@russbiggs
Copy link
Contributor

russbiggs commented May 12, 2021

When in the wheel screen and navigating back from an incomplete survey we have range errors happening on each Active Card in the list

RangeError (index): Invalid value: Valid value range is empty: 0
The relevant error-causing widget was
ActiveCard
lib/…/wheel/incomplete_list.dart:98

pointing to the snapshot.data[index]

  return ActiveCard(
      _survey,
      snapshot.data[index],
      widget.currentWheelPosition,
      _completeItem,
      _showDeleteDialog);
},
@russbiggs russbiggs added the bug Something isn't working label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant