|
@ -172,42 +172,42 @@ class Splash extends React.Component { |
|
|
})} |
|
|
})} |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
storeWrongAnswers.length ? ( |
|
|
|
|
|
<Button |
|
|
<Button |
|
|
text={texts.wrong_review} |
|
|
|
|
|
subtitle={`(${storeWrongAnswers.length})`} |
|
|
|
|
|
|
|
|
text={texts.exam} |
|
|
|
|
|
subtitle={`(${texts.exam_simulation})`} |
|
|
isBig={false} |
|
|
isBig={false} |
|
|
hasBg={true} |
|
|
hasBg={true} |
|
|
noPadding={true} |
|
|
noPadding={true} |
|
|
hasShadow={true} |
|
|
hasShadow={true} |
|
|
color={colors.white_alpha} |
|
|
color={colors.white_alpha} |
|
|
onPress={() => |
|
|
onPress={() => |
|
|
this.props.navigation.navigate("Quiz", { |
|
|
|
|
|
title: texts.wrong_review, |
|
|
|
|
|
questions: storeWrongAnswers, |
|
|
|
|
|
isWrong: true, |
|
|
|
|
|
color: colors.blue |
|
|
|
|
|
|
|
|
this.props.navigation.navigate("Exam", { |
|
|
|
|
|
title: texts.exam, |
|
|
|
|
|
questions: this.props.navigation.getParam("examQuestions") || examQuestions, |
|
|
|
|
|
color: colors.white_alpha |
|
|
})} |
|
|
})} |
|
|
/> |
|
|
/> |
|
|
) : null |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
storeWrongAnswers.length ? ( |
|
|
<Button |
|
|
<Button |
|
|
text={texts.exam} |
|
|
|
|
|
subtitle={`(${texts.exam_simulation})`} |
|
|
|
|
|
|
|
|
text={texts.wrong_review} |
|
|
|
|
|
subtitle={`(${storeWrongAnswers.length} ${texts.wrong_title})`} |
|
|
isBig={false} |
|
|
isBig={false} |
|
|
hasBg={true} |
|
|
hasBg={true} |
|
|
noPadding={true} |
|
|
noPadding={true} |
|
|
hasShadow={true} |
|
|
hasShadow={true} |
|
|
color={colors.white_alpha} |
|
|
color={colors.white_alpha} |
|
|
onPress={() => |
|
|
onPress={() => |
|
|
this.props.navigation.navigate("Exam", { |
|
|
|
|
|
title: texts.exam, |
|
|
|
|
|
questions: this.props.navigation.getParam("examQuestions") || examQuestions, |
|
|
|
|
|
color: colors.white_alpha |
|
|
|
|
|
|
|
|
this.props.navigation.navigate("Quiz", { |
|
|
|
|
|
title: texts.wrong_review, |
|
|
|
|
|
questions: storeWrongAnswers, |
|
|
|
|
|
isWrong: true, |
|
|
|
|
|
color: colors.blue |
|
|
})} |
|
|
})} |
|
|
/> |
|
|
/> |
|
|
|
|
|
) : null |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
text={texts.trueFalse} |
|
|
text={texts.trueFalse} |
|
|