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

Small fix in Favouritescreen UI (Song Title and Artist name are not displaying in light theme) #103

Closed
wants to merge 2 commits into from

Conversation

SB2318
Copy link
Contributor

@SB2318 SB2318 commented Mar 25, 2023

Description:

In the FavouriteSong screen, The song name and artist name are not displaying.
gsoc_prob_1

Solution:

Light Theme:

gsoc_final_sol

Dark Theme:

gsoc_sol1

@SB2318
Copy link
Contributor Author

SB2318 commented Mar 25, 2023

@akshaaatt Please review it.

@@ -365,11 +366,13 @@ fun OnPlaylistClickScreen(playlistID: Long) {
Column(Modifier.padding(start = 10.dp)) {
Text(
text = it.title,
color = androidx.compose.material3.MaterialTheme.colorScheme.onSurface
// color = androidx.compose.material3.MaterialTheme.colorScheme.onSurface
color= Color.White
Copy link
Member

Choose a reason for hiding this comment

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

This fix is incorrect. We should never hardcode color values for an app which supports both light mode and dark mode.

Rather, we should look to make the black colored card as white or the relevant color to adapt automatically for light mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, get it. Thank You 😇

@SB2318 SB2318 closed this Mar 25, 2023
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