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

chore: In app ratings modal and profile picture picture sheet UI improvements #94

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

saeedbashir
Copy link

Description

Jira Ticket: LEARNER-10307

Before After
profile profile
review1 review1
review2 review2

Note: This change will not affect openedX theme.

Theme.Shapes.buttonShape
.fill(
isActive ? Theme.Colors.accentColor
: Theme.Colors.cardViewStroke
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need next line here?

Copy link
Author

Choose a reason for hiding this comment

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

I guess yes, as the newline is added here as well .fill(

Copy link
Collaborator

Choose a reason for hiding this comment

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

My question is about : Theme.Colors.cardViewStroke - do we need to have this on new line?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think splitting ternary operators makes sense if it exceeds the string length limit

@saeedbashir saeedbashir merged commit 2cb5828 into 2U/develop Nov 15, 2024
2 checks passed
@saeedbashir saeedbashir deleted the saeed/LEARNER-10307 branch November 15, 2024 06:20
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.

3 participants