Commit 0446b389 authored by 林生雨's avatar 林生雨

fix bug

parent 31b86426
......@@ -439,7 +439,7 @@ class LevelOneState extends BaseState<LevelOnePage>
if (_model.planoverItem != null) {
_model.planoverItem.explanationAttrs.forEach((element) {
List<Widget> textList = [];
if (element.attrName.length < 4) {
if (element.attrName.length < 5) {
for (int i = 0; i < element.attrName.length; i++) {
textList.add(baseText(
element.attrName.substring(i, i + 1), 13, Color(0xff999999)));
......
......@@ -399,7 +399,7 @@ class LevelTwoState extends BaseState<LevelTwoPage>
if (_model.planoverItem != null) {
_model.planoverItem.explanationAttrs.forEach((element) {
List<Widget> textList = [];
if (element.attrName.length < 4) {
if (element.attrName.length < 5) {
for (int i = 0; i < element.attrName.length; i++) {
textList.add(baseText(
element.attrName.substring(i, i + 1), 13, Color(0xff999999)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment