-
Notifications
You must be signed in to change notification settings - Fork 108
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
Issue 220 Fix inverse mode card when system is in dark mode #223
Conversation
Inverse mode string
1a2e584
to
f0fa8d0
Compare
Hii @vinaygaba , do you think this could be included in next release? Thanks! |
@vinaygaba what do you think about this PR? Thanks |
@marcorighini This is definitely a really useful improvement. I'm wondering if it makes sense to make this more deterministic - instead of doing inverse, we should explicitly show the other card variants with |
@vinaygaba |
import androidx.compose.foundation.layout.size | ||
import androidx.compose.foundation.layout.sizeIn | ||
import androidx.compose.foundation.layout.width | ||
import androidx.compose.foundation.layout.* |
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.
Avoid wildcard imports. Might need to update you Android Studio settings since its probably happening due to default values present locally
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.
Looks like detekt also flagged this on CI, hence the build failure @marcorighini
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.
Ready to be merged once the build failures are fixed
@vinaygaba fixed in d8ba947 |
Showing the same way with system in light mode or dark mode