Skip to content
Snippets Groups Projects
Commit 7a1ef388 authored by Julia Friesel's avatar Julia Friesel
Browse files

Move config to app level

parent dcd0883b
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
} from 'react-native' } from 'react-native'
import Icon from 'react-native-vector-icons/Entypo' import Icon from 'react-native-vector-icons/Entypo'
import styles from './styles' import styles from './styles'
import config from './config' import config from '../../config'
import { getOrCreateCycleDay } from '../../db' import { getOrCreateCycleDay } from '../../db'
import cycleModule from '../../lib/cycle' import cycleModule from '../../lib/cycle'
import DotAndLine from './dot-and-line' import DotAndLine from './dot-and-line'
......
import React, { Component } from 'react' import React, { Component } from 'react'
import { View } from 'react-native' import { View } from 'react-native'
import styles from './styles' import styles from './styles'
import config from './config' import config from '../../config'
export default class DotAndLine extends Component { export default class DotAndLine extends Component {
shouldComponentUpdate(newProps) { shouldComponentUpdate(newProps) {
......
import config from './config' import config from '../../config'
const styles = { const styles = {
curve: { curve: {
......
import React from 'react' import React from 'react'
import { Text, View } from 'react-native' import { Text, View } from 'react-native'
import config from './config' import config from '../../config'
import styles from './styles' import styles from './styles'
function makeYAxis() { function makeYAxis() {
......
...@@ -4,6 +4,8 @@ const config = { ...@@ -4,6 +4,8 @@ const config = {
temperatureScale: { temperatureScale: {
low: 35, low: 35,
high: 38, high: 38,
min: 34,
max: 40,
units: 0.1 units: 0.1
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment