Skip to content
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

Meal plan tab #48

Closed
wants to merge 10 commits into from
Closed

Meal plan tab #48

wants to merge 10 commits into from

Conversation

mikejensen0
Copy link
Collaborator

resolves #20

Days are editable and the data is locally stored for each day. It is possible to change week.

Note that changing year shows incorrect day dates (not important).
Furthermore, comments have been added where the GunDB implementation should be.

@andreasalstrup
Copy link
Owner

Fix using flatlist?
image

/>
</Pressable>
</View>
<View style={styles.weekdaysContainer}>{renderDays()}</View>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make this a ScrollView, then you just need to set the dayContainer height on initial load

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will look into it 🫡

@mikejensen0
Copy link
Collaborator Author

There are som issues with how dates are calculated. Will open a pull request later, using Moment.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Meal Plan tab: Meal plan
3 participants