Skip to content

Commit

Permalink
fix(notes): afficher tout le temps le bouton valider
Browse files Browse the repository at this point in the history
  • Loading branch information
tangimds committed Dec 22, 2021
1 parent 09684e8 commit 0f9fe9e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/scenes/survey/notes-screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ const Notes = ({navigation, route}) => {
onFocus={() => setInputFocused(3)}
onBlur={() => setInputFocused(null)}
/>
<View style={styles.buttonWrapper}>
<Button onPress={validateSurvey} title="Valider" />
</View>
</ScrollView>
{inputFocused ? (
<View style={styles.floatingButtonWrapper}>
Expand All @@ -154,11 +157,7 @@ const Notes = ({navigation, route}) => {
visible
/>
</View>
) : (
<View style={styles.buttonWrapper}>
<Button onPress={validateSurvey} title="Valider" />
</View>
)}
) : null}
</SafeAreaView>
</KeyboardAvoidingView>
);
Expand Down Expand Up @@ -193,7 +192,7 @@ const styles = StyleSheet.create({
padding: 20,
},
scrollContainer: {
paddingBottom: 80,
paddingBottom: 600,
},
backButton: {
fontWeight: '700',
Expand Down

0 comments on commit 0f9fe9e

Please sign in to comment.