Hello fellow koders,
I have a Side Menu component in my current app with a header picture but this picture doesn’t change when I change the image file.
- Say I’m displaying image A.png (duck) in the header;
- I keep the app open;
- Go to my device’s file manager
- Change the file referenced in the header (switch the names between 2 image files - A.png becomes B.png and vice versa. A.png is now a deer and B.png the original duck) and;
- Return to the app.
Even if I reference another image (C.png - tree) and then return to the old file name (A.png - deer), the image shown is the original (duck) from before the name switching (all this done in blocks).
If I restart the app, the image shown is corrected, though.
Mind you this happened both in companion and packaged app and I also tried clearing cache while the app was open but to no avail.
What could be happening here or what workaround I could try to mitigate this? Hope I made myself reasonably clear in the description.
Thanks in advance.