Chart styling adaption: Temporarily disbale temp scale settings

This commit is contained in:
BloodyMarie
2022-04-19 23:15:26 +02:00
parent 8a29f08dca
commit dea67c88f5
2 changed files with 7 additions and 4 deletions
+4 -3
View File
@@ -5,7 +5,7 @@ import AppIcon from '../../common/app-icon'
import AppPage from '../../common/app-page' import AppPage from '../../common/app-page'
import AppSwitch from '../../common/app-switch' import AppSwitch from '../../common/app-switch'
import AppText from '../../common/app-text' import AppText from '../../common/app-text'
import TemperatureSlider from './temperature-slider' // import TemperatureSlider from './temperature-slider'
import Segment from '../../common/segment' import Segment from '../../common/segment'
import { useCervixObservable, saveUseCervix } from '../../../local-storage' import { useCervixObservable, saveUseCervix } from '../../../local-storage'
@@ -40,10 +40,11 @@ export default class Settings extends Component {
value={shouldUseCervix} value={shouldUseCervix}
/> />
</Segment> </Segment>
<Segment title={labels.tempScale.segmentTitle}> {/* disabled temporarily, TODO https://gitlab.com/bloodyhealth/drip/-/issues/545 */}
{/* <Segment title={labels.tempScale.segmentTitle}>
<AppText>{labels.tempScale.segmentExplainer}</AppText> <AppText>{labels.tempScale.segmentExplainer}</AppText>
<TemperatureSlider /> <TemperatureSlider />
</Segment> </Segment> */}
<Segment last> <Segment last>
<View style={styles.line}> <View style={styles.line}>
<AppIcon <AppIcon
+3 -1
View File
@@ -113,7 +113,9 @@ export const mood = {
} }
export const temperature = { export const temperature = {
outOfRangeWarning: 'This temperature value is out of the current range for the temperature chart. You can change the range in the settings.', // disabled temporarily, TODO https://gitlab.com/bloodyhealth/drip/-/issues/545 */}
// outOfRangeWarning: 'This temperature value is out of the current range for the temperature chart. You can change the range in the settings.',
outOfRangeWarning: 'This temperature value is too high or low to be shown on the temperature chart.',
outOfAbsoluteRangeWarning: 'This temperature value is too high or low to be shown on the temperature chart.', outOfAbsoluteRangeWarning: 'This temperature value is too high or low to be shown on the temperature chart.',
saveAnyway: 'Save anyway', saveAnyway: 'Save anyway',
temperature: { temperature: {