diff --git a/app/src/screens/CreateScreen.js b/app/src/screens/CreateScreen.js index 3a7f555..96b676a 100644 --- a/app/src/screens/CreateScreen.js +++ b/app/src/screens/CreateScreen.js @@ -86,8 +86,8 @@ const CreateScreen = ({ navigation }) => { }); }; - let bottomBar = { ...styles.bottomBar }; - bottomBar.paddingBottom = insets.bottom * 0.5; + const bottomBar = { ...styles.bottomBar }; + bottomBar.paddingBottom = insets.bottom; return ( @@ -98,17 +98,18 @@ const CreateScreen = ({ navigation }) => { {state.latitude.toFixed(4)}, {state.longitude.toFixed(4)} - - + + {renderFormComponent()} {defiState.error} - - + + Erstellen @@ -125,6 +126,10 @@ const styles = StyleSheet.create({ containerStyle: { ...StyleSheet.absoluteFillObject, backgroundColor: 'white', + display: 'flex', + }, + fieldsContainer: { + flex: 1, }, coordStyle: { flexDirection: 'row',