flet-dev / examples

Flet sample applications
MIT License
423 stars 172 forks source link

Creating a custom loading image and favicon #55

Closed regstuff closed 1 year ago

regstuff commented 1 year ago

Could anyone guide me to a tutorial on how I can change the default loading image and icon.

I checked this tutorial, but it doesn't seem to be working, or maybe I'm not using it right.

EDIT: Ok, playing around with a little more, changing the port did the trick. Seems like there is some kind of cache? I've disabled cache for the localhost in developer tools. Any idea how to get around this?

FeodorFitsner commented 1 year ago

I don't think there is anything in Flet explicitly caching static content. You can use a regular approach - changing file/icon name if you need updating an image on every release.