-
Notifications
You must be signed in to change notification settings - Fork 40
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
Including the library in a dynamic feature module changes typography themes elements #20
Comments
First of all, this isn't a library issue. You're not invoking any MDC Adapter code (or even Compose code for that matter) so there's no way it can alter the theme. This library also doesn't modify the theme in any way. This looks to me like a Gradle transitive dependency issue. This library depends on MDC
This should happen automatically, since:
But maybe being a feature module is how messing with it some how. |
Looked more into this. It's not a transitive dependency issue, the MDC dependency gets correctly upgraded to: This looks to me like a feature module issue. If I add |
I can reproduce the issue. For now, replacing |
I agree this is not a library issue but I had no clue where to start. I'm happy to fill an issue in the correct component so this can be followed up properly. |
I got a weird issue when I tried to include the library in a dynamic feature module. I don't know what is happening exactly but this seems to modify some theme attributes used in the regular view system.
Here is a link to a minimal sample reproduction
https://github.com/fbarthelery/Bug-material-components-android-compose-theme-adapter
Without compose-theme-adapter dependency
With compose-theme-adapter dependency
The text was updated successfully, but these errors were encountered: