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

Add MaterialSideProfile dark mode support #407

Closed
beppino opened this issue Apr 23, 2020 · 2 comments
Closed

Add MaterialSideProfile dark mode support #407

beppino opened this issue Apr 23, 2020 · 2 comments
Assignees

Comments

@beppino
Copy link

beppino commented Apr 23, 2020

Tested on macOS 10.15.4.
Start application with system in dark mode and switch to light (with MaterialDarkModeToggle). The MaterialSideProfile is losing his layout.
Not if os is initially set to light mode; all seems remain consistent.

@kevzlou7979
Copy link
Contributor

Can you show me the code i can't reproduce on my own.
2

Here's the code I used:

<ma:sideprofile.MaterialSideProfile url="https://miro.medium.com/max/5760/1*r2AuXvDuxdRWCqvmBhlssw.png">
                <m:MaterialImage url="https://res.cloudinary.com/teepublic/image/private/s--XqBcjwVK--/c_crop,x_10,y_10/c_fit,w_830/c_crop,g_north_west,h_1038,w_1038,x_-104,y_-105/l_upload:v1565806151:production:blanks:vdbwo35fw6qtflw9kezw/fl_layer_apply,g_north_west,x_-215,y_-216/b_rgb:bbb0e4/c_limit,f_jpg,h_630,q_90,w_630/v1548392518/production/designs/4075639_0.jpg  "/>
                <m:MaterialLabel text="GWT Material" textColor="WHITE"/>
                <m:MaterialLink text="[email protected]" activates="dropProfile" iconType="ARROW_DROP_DOWN" iconPosition="RIGHT" textColor="WHITE"/>
            </ma:sideprofile.MaterialSideProfile>

@beppino
Copy link
Author

beppino commented Apr 26, 2020

Sorry, maybe was my fault... I can't reproduce too.
All it's fine with your code.
Thank you for time loose about this unconfirmed bug...

@beppino beppino closed this as completed Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants