-
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
Fix bug in getShowkaseMetadataFromPreview where the preview width was being set as the showkase metadata height #280
Conversation
@@ -287,7 +287,7 @@ internal fun getShowkaseMetadataFromPreview( | |||
showkaseName = showkaseName, | |||
showkaseGroup = showkaseGroup, | |||
showkaseWidthDp = if (width == -1) null else width, | |||
showkaseHeightDp = if (height == -1) null else width, |
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.
oh great catch!
@stefankram seems like some tests are failing. Will you do a pass and fix them 🙏 |
@vinaygaba yep will take a look! |
… preview width was being set as the showkase metadata height
…ctly set in the generated showkase code
ca702b2
to
212963a
Compare
@vinaygaba this should be good to re-test |
Hey @vinaygaba I noticed a new version was created. I was hoping to get this PR merged and into that release... Is there anything else I can help with to get this merged down? |
@stefankram about to merge this! Just re-running the build |
This PR contains a fix for an issue I discovered when trying to get the height information of a
@Preview
from aShowkaseBrowserComponent
.Please let me know if I need to add any other tests to get this merged.