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