Skip to main content

prefetch_remote_images

Function prefetch_remote_images 

Source
pub fn prefetch_remote_images(config: &mut WidgetConfig)
Expand description

Walk the config and fill image.data from http(s) URLs when needed.

  • Does not clear url (consumers choose data / localPath / url).
  • No-op on Android and when the image-prefetch feature is disabled.