Compare commits

...

7 Commits

Author SHA1 Message Date
bl00dymarie a152ca0f40 Adapt note field for temperature and note 2024-02-20 13:38:03 +01:00
bl00dymarie 60010f9760 Allow more lines for "other" under mood, pain, sex 2024-02-15 18:22:12 +01:00
bl00dymarie 2ee08c9769 Limit lines to 3 for symptom day boxes 2024-02-15 18:20:10 +01:00
bl00dymarie 3020967ed2 Add multiline to notes in edit view 2024-02-15 18:19:47 +01:00
bl00dymarie dc2f867c2c Update version to 1.2402.15 2024-02-15 18:07:22 +01:00
bl00dymarie 90ad1cb12f Add KeyboardAvoidingView for visible TextInput 2024-02-15 17:38:08 +01:00
bl00dymarie 010cabcefb Allow scrolling in note text field 2024-02-15 17:37:15 +01:00
5 changed files with 22 additions and 12 deletions
+2 -2
View File
@@ -134,8 +134,8 @@ android {
applicationId "com.drip"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 25
versionName "1.2311.14"
versionCode 27
versionName "1.2402.15"
ndk {
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
+8
View File
@@ -1,6 +1,7 @@
import React from 'react'
import {
Dimensions,
KeyboardAvoidingView,
Modal,
StyleSheet,
TouchableOpacity,
@@ -19,6 +20,7 @@ const AppModal = ({ children, onClose }) => (
transparent={true}
visible={true}
>
<KeyboardAvoidingView behavior={'padding'} style={styles.safeAreaView}>
<TouchableOpacity onPress={onClose} style={styles.blackBackground} />
<View style={styles.modalWindow}>
<View style={styles.headerContainer}>
@@ -26,6 +28,7 @@ const AppModal = ({ children, onClose }) => (
</View>
{children}
</View>
</KeyboardAvoidingView>
</Modal>
)
@@ -62,6 +65,11 @@ const styles = StyleSheet.create({
elevation: 2, // works on android
minWidth: '80%',
},
safeAreaView: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
})
export default AppModal
+4 -2
View File
@@ -110,7 +110,7 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => {
const inputProps = {
multiline: true,
numberOfLines: 3,
scrollEnabled: false,
scrollEnabled: true,
style: styles.input,
textAlignVertical: 'top',
}
@@ -176,11 +176,13 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => {
/>
</Segment>
)}
{/* this code below applies to the note field in temperature and the note tracking category */}
{shouldShow(symptomConfig.note) && (
<Segment style={styles.segmentBorder}>
<AppText>{symtomPage[symptom].note}</AppText>
<AppTextInput
{...inputProps}
{...(symptom === 'temperature' ? { inputProps } : {})}
multiline={true}
onChangeText={onEditNote}
placeholder={sharedLabels.enter}
testID="noteInput"
+1 -1
View File
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.2401.17</string>
<string>1.2402.15</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "drip.",
"version": "1.2401.17",
"version": "1.2402.15",
"contributors": [
"Julia Friesel <julia.friesel@gmail.com>",
"Marie Kochsiek",