From a152ca0f409aad1311091b46fa77e39dc8f07425 Mon Sep 17 00:00:00 2001 From: bl00dymarie Date: Tue, 20 Feb 2024 13:32:13 +0100 Subject: [PATCH] Adapt note field for temperature and note --- components/cycle-day/symptom-box.js | 2 +- components/cycle-day/symptom-edit-view.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/cycle-day/symptom-box.js b/components/cycle-day/symptom-box.js index 4453b8c..f9fcd0c 100644 --- a/components/cycle-day/symptom-box.js +++ b/components/cycle-day/symptom-box.js @@ -64,7 +64,7 @@ const SymptomBox = ({ {t(symptom)} {symptomDataToDisplay && ( - + {symptomDataToDisplay} )} diff --git a/components/cycle-day/symptom-edit-view.js b/components/cycle-day/symptom-edit-view.js index e5c4958..0498c1b 100644 --- a/components/cycle-day/symptom-edit-view.js +++ b/components/cycle-day/symptom-edit-view.js @@ -109,7 +109,7 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => { const noteText = symptom === 'note' ? data.value : data.note const inputProps = { multiline: true, - numberOfLines: 4, + numberOfLines: 3, scrollEnabled: true, style: styles.input, textAlignVertical: 'top', @@ -176,10 +176,12 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => { /> )} + {/* this code below applies to the note field in temperature and the note tracking category */} {shouldShow(symptomConfig.note) && ( {symtomPage[symptom].note}