Browse Source

metereology data fix

master
Dslak 6 years ago
parent
commit
f11552c70f
  1. 1
      vds-app/App/components/ExamQuestions.js
  2. 3
      vds-app/App/components/Results.js
  3. 6
      vds-app/App/data/meteorology.js
  4. 1
      vds-app/App/screens/QuizIndex.js
  5. 2
      vds-app/App/screens/Splash.js

1
vds-app/App/components/ExamQuestions.js

@ -25,7 +25,6 @@ const allQuestions = {
}
const generateQuestions = () => {
examScheme.forEach( (elem) => {
let currentSection = allQuestions[elem.section]
for(let i=0; i<elem.questions; i++) {

3
vds-app/App/components/Results.js

@ -65,8 +65,7 @@ const styles = StyleSheet.create({
bg: {
width: "100%",
height: "100%",
borderRadius: 5,
paddingVertical: 50
borderRadius: 5
},
bgStyle: {
borderRadius: 0,

6
vds-app/App/data/meteorology.js

@ -772,6 +772,12 @@ const questions = [
id: "2",
text: "Il vento generato da fenomeni microclimatici locali come le brezze di valle o di monte."
}
,
{
id: "3",
text: "Il vento di gradiente, prodotto dalla situazione barica attuale rilevabile dalle carte del tempo mediante l’osservazione delle isobare.",
correct: true
}
]
},
{

1
vds-app/App/screens/QuizIndex.js

@ -15,7 +15,6 @@ import testQuestions from "../data/test"
import { Button, ButtonContainer } from "../components/Button"
import { RowItem } from "../components/RowItem"
import { colors, texts} from "../components/Variables"
import { examQuestions } from "../components/ExamQuestions"
/*

2
vds-app/App/screens/Splash.js

@ -91,6 +91,8 @@ class Splash extends React.Component {
//console.log("Banner error: ", e)
}
render() {
if(this.state.timer==maxTime) {

Loading…
Cancel
Save