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

Commit

Permalink
Merge pull request #119 from ZendyLim/feature/hl3
Browse files Browse the repository at this point in the history
Remove random for hiragana and katakana
  • Loading branch information
avoidborredom authored Jun 23, 2018
2 parents 1338fbf + acc40b7 commit 2a00a28
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/screens/Study/hiraganaFlashcard.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ import {
})

this.data = flashData[0][this.props.title];
this.data.sort(function() {
return 0.5 - Math.random()
})
if(this.props.title != 'FLASH_CARD_HIRAGANA' && this.props.title != 'FLASH_CARD_KATAKANA') {
this.data.sort(function() {
return 0.5 - Math.random()
})
}

const { navigation } = this.props;

Expand Down

0 comments on commit 2a00a28

Please sign in to comment.