Skip to content

v0.12.5

Choose a tag to compare

@balcieren balcieren released this 21 Oct 22:51
· 13 commits to main since this release

Fixed

  • A cached avatar hides its fallback on iOS. iOS delivers a cached image's onLoad before its onLoadStart, and Avatar.Image mapped every load start to 'loading', so the status went loaded → loading and stayed there: Avatar.Fallback never hid, and the initials showed beside the picture. A load that has settled (loaded or errored) now stays settled until the image's source changes, compared by what it points at (a uri, an asset number), so an equal source on a new render is the same load. Android, which keeps the order, is unchanged. (#10)