Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
#50 modify time
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidborredom committed Jun 18, 2018
1 parent 3e97283 commit 5e1607e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/screens/Quiz/quizFlash.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ import {
this.showCorrect = false;
this.isPause = null;
this.timerResume = false;
this.time = 6000;
this.time = 7000;

this.initialState = {
timesUp: false,
Expand Down Expand Up @@ -437,7 +437,9 @@ import {
setQuizFormat(quizFormat, time){
let paramFormat;


if(this.currentQuestion.type == 'grammar'){
time = 10000;
}
if (this.currentQuestion.moji.indexOf('/') > -1 && quizFormat.indexOf('fill') > -1)
{
switch(this.currentQuestion.type){
Expand Down Expand Up @@ -627,8 +629,8 @@ import {
this.timeStops = 0;
this.currentQuestion = this.allQuestion[counter];

this.randomQuizFormat();
console.log(this.state);
this.randomQuizFormat();

reset = {
counter: counter,
//questionId: questionId,
Expand Down

0 comments on commit 5e1607e

Please sign in to comment.