-
Notifications
You must be signed in to change notification settings - Fork 0
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
Meal plan tab #48
Conversation
Week still under- and overflows. Also editable data persists between weeks, should instead be assigned to one week. And landing week is 1 off.
…for 2023 Days in 2024 is not shown properly and cba fixing
Updating mealplan
/> | ||
</Pressable> | ||
</View> | ||
<View style={styles.weekdaysContainer}>{renderDays()}</View> |
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.
You can make this a ScrollView, then you just need to set the dayContainer height on initial load
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.
Will look into it 🫡
There are som issues with how dates are calculated. Will open a pull request later, using Moment.js |
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.