I think i found a bug in compose, the way drawable...
# compose
m
I think i found a bug in compose, the way drawables are resolved and cached. This kind of vector drawables:
Copy code
<path
    android:fillColor="@color/themed_color_1"
    android:pathData="M23.323 21c3.612 0 7.957 4.889 9.677 7.333C30.634 29.556 25 32 21.387 32c-3.613 0-7.097-3.667-8.387-5.5 0.645-1.833 5.806-5.5 10.323-5.5z" />
theme_color_1 has different values for light and dark mode. Changing theme does not invalidate the cached drawable. Restarting the app shows the correct themed colors. Is this a bug?