Resolve "don't show temperature chart part of chart when temp not tracked"
This commit is contained in:
committed by
Sofiya Tepikin
parent
620f5e77da
commit
ee0b83d1ca
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'
|
||||
import { View } from 'react-native'
|
||||
|
||||
import styles from './styles'
|
||||
import config from '../../config'
|
||||
|
||||
const SymptomCell = ({
|
||||
height,
|
||||
@@ -12,7 +13,7 @@ const SymptomCell = ({
|
||||
}) => {
|
||||
|
||||
const shouldDrawDot = symptomValue !== false
|
||||
const styleParent = [styles.symptomRow, { height }]
|
||||
const styleParent = [styles.symptomRow, { height, width: config.columnWidth }]
|
||||
let styleChild
|
||||
|
||||
if (shouldDrawDot) {
|
||||
|
||||
Reference in New Issue
Block a user