pangeachat / client

Learn a language while texting your friends
https://krille-chan.github.io/fluffychat/
GNU Affero General Public License v3.0
1 stars 2 forks source link

Span card choice mismatch #328

Closed Kelrap closed 1 month ago

Kelrap commented 1 month ago

Bug Description

When a span card is created, there are two fetches for choices. There may be mismatch between the two sets.

If the sets don't match, when the user first selects a span card choice, the options will change. There may be fewer or no options, which could lead to an index out of bounds error.

Screenshot 2024-06-12 at 3 13 19 PM Screenshot 2024-06-12 at 3 13 32 PM

Steps to Reproduce

This error is not consistent. It does not appear for the same input twice, and there is no pattern between the input it does occur for, to my knowledge.

Expected Behavior

When a span card choice is selected, the options should remain the same.

App Version

v0.0.3-hotfix 3

Additional Platform Information

iPhone

Additional Context