hotfix for span card bug
This commit is contained in:
parent
6a3d04707e
commit
3f803a5cc3
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class SpanCardState extends State<SpanCard> {
|
|||
SpanChoice? get selectedChoice {
|
||||
if (selectedChoiceIndex == null ||
|
||||
widget.scm.pangeaMatch?.match.choices == null ||
|
||||
widget.scm.pangeaMatch!.match.choices!.length >= selectedChoiceIndex!) {
|
||||
widget.scm.pangeaMatch!.match.choices!.length <= selectedChoiceIndex!) {
|
||||
return null;
|
||||
}
|
||||
return widget.scm.pangeaMatch?.match.choices?[selectedChoiceIndex!];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue