-
Notifications
You must be signed in to change notification settings - Fork 3
Refactor/cleanup composable #234
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
Conversation
…readability and reusability
…o refactor/cleanup-composable
…dates on status change.
rename homeComponents to component
raouf-kamel
left a comment
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.
Excellent work
| ) { | ||
| Text( | ||
| text = dayDate.dayOfMonth.toString(), | ||
| color = if (isSelected) Theme.color.onPrimary else Theme.color.body, |
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.
OKAY , but if you put this condition between animate color as state will give a better user experience
| true -> Theme.dimension.medium | ||
| false -> 18.dp | ||
| } | ||
| val verticalPadding = if (isLoading) Theme.dimension.medium else 18.dp |
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.
here you can use animateDpAsState
🛠️ Summary
Briefly explain what this pull request does.
📌 Description
Please include a summary of the changes and the related issue.
✅️Type of change
✅ Checklist:
developbranch🔍 Testing
Please check what has been verified before merging:
📎 Related Issues / Tasks
Link to any related issue or task:
#issue_number(if applicable)👥 Reviewers
Optional: Tag team members you want to review the changes
Example:
@teammate1@leadDev