-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajout du scrollView à la page DéfaultNotification #132
Conversation
ClaudeArs
commented
Sep 23, 2024
•
edited
Loading
edited
Signed-off-by: Claude Arseneault <[email protected]>
Signed-off-by: Claude Arseneault <[email protected]>
<ScrollView style={styles.container}> | ||
<View style={styles.section}> | ||
<HeaderText title={t('DefaultNotificationPage.Title')} /> | ||
<Text style={styles.sectionDescriptionTitle}> {t('DefaultNotificationPage.Description')}</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi 4 fois la même chose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'avais fait un test pour le scrollView, portant dans mon code je les ai enlevé
<Text style={styles.sectionDescription}> {t('DefaultNotificationPage.ANIGAcceptDescription')}</Text> | ||
</View> | ||
<View style={styles.button}> | ||
<Button |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il faut ajouter un bouton secondaire pour revenir à la page d'accueil. Je crois que les boutons serait placés en dehors de la ScrollView pour qu'on les affichent en tout temps sans avoir à faire défiler la page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voir mes commentaires ci-haut
Signed-off-by: Claude Arseneault <[email protected]>
pageContainer: { | ||
flex: 1, | ||
container: { | ||
height: '77%', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'aurais peut-être mis flex: 3 pour ce container et dans le styles.button flex: 1. Comme ça container prend 3/4 et button 1/4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.