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

Changing theme not working properly #19794

Closed
Parveshdhull opened this issue Apr 25, 2024 · 12 comments
Closed

Changing theme not working properly #19794

Parveshdhull opened this issue Apr 25, 2024 · 12 comments

Comments

@Parveshdhull
Copy link
Member

Check video at 00:20 sec

output-2024-04-25_15.06.59.mp4
@flexsurfer
Copy link
Member

i'm unable to replicate this

@Parveshdhull
Copy link
Member Author

weird, on my emulator several screens broke using above steps but on android device only activity center icon broken in wallet screen
image

@flexsurfer
Copy link
Member

super weird

@Parveshdhull
Copy link
Member Author

if its only happening in emulator we can close the issue. Please can you confirm if activity center icon is correct for you after theme changes?

@flexsurfer
Copy link
Member

but still strange why it happens on emulator

@Parveshdhull
Copy link
Member Author

probably some timing issue, it happens randomly. So maybe timing problem with hot-reload and theme change

@flexsurfer
Copy link
Member

btw why do we need hot-reload?

@Parveshdhull
Copy link
Member Author

do we even need hot-reloatd anymore

@Parveshdhull
Copy link
Member Author

btw why do we need hot-reload?

I don't remember why we needed, have to check

@Parveshdhull
Copy link
Member Author

btw why do we need hot-reload?

found it, #14811 (comment)

@Parveshdhull
Copy link
Member Author

But from implementation it seems, initially we added hot-reload for all builds not only debug. Not sure when and why we changed it to only debug build. Still, we probably don't need it 🤔

@Parveshdhull Parveshdhull self-assigned this Apr 29, 2024
@Parveshdhull
Copy link
Member Author

Closing issue for now, if we ever want to fix this issue, probably removing these lines should be solution

(when js/goog.DEBUG
(hot-reload/reload))))))

Currently don't want to remove them without knowing what will be side-effects

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