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

More Info screen improvement #200

Merged
merged 7 commits into from
May 2, 2024
Merged

More Info screen improvement #200

merged 7 commits into from
May 2, 2024

Conversation

ecornamu
Copy link
Contributor

@ecornamu ecornamu commented May 2, 2024

Changed the UI design of the More Info screen to comply with figma, including a system to display the rating with empty, semi-filled and filled stars
WhatsApp Image 2024-05-02 at 15 49 51

Copy link
Contributor

@Andy130604 Andy130604 left a comment

Choose a reason for hiding this comment

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

Overall really nice design, I just one small remark: you can use enum functions to display text, you shouldn't pass lambda all the way down.

@@ -52,7 +52,7 @@ fun MoreInfoScreen(
// contains the top icon buttons
item { TopBar(navigateBack) }
// displays activity title and duration
item { ActivityTitleZone(activityToDisplay) }
item { ActivityTitleZone(activityToDisplay, processDiffText) }
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to pass lambda, you can use the enum defined functions, either .name or toString()

@Andy130604 Andy130604 self-requested a review May 2, 2024 14:59
Copy link
Contributor

@Andy130604 Andy130604 left a comment

Choose a reason for hiding this comment

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

Nice changes ! Ready for merging :)

Copy link

sonarcloud bot commented May 2, 2024

@ecornamu ecornamu merged commit 3d109b3 into main May 2, 2024
3 checks passed
@ecornamu ecornamu deleted the moreinfo/remodel branch May 2, 2024 15:25
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.

2 participants