Closed juliushaertl closed 4 days ago
the image is cached in browser cache and the URL can not change. Press ctrl+f5 or wait max. 24h
the image is cached in browser cache and the URL can not change. Press ctrl+f5 or wait max. 24h
But we do have different endpoints for that: https://github.com/nextcloud/spreed/blob/ca1ad2d43c525256fccce4f8940ece4436e935f8/docs/avatar.md?plain=1#L70-L92
The check is also correctly working:
But the conversation list does not take that into account
Used here:
But I guess since isDarkTheme
is the fixed result of a function call, and therefore not reactive, it changes only after a reload.
Currently, we are updating the theme based on a CSS variable '--background-invert-if-dark'
. Since CSS variables can't change without reloading the page, this means the theme check will only happen on load.
While it is not perfect, I would say it's an acceptable draw back for an edge case.
How to use GitHub
Steps to reproduce
Also happens the other way round
Expected behaviour
The background of the conversation icons in the left sidebar changes
This is how it looks after a page reload:
Actual behaviour
The background stays
Reproduced on our instance