Marshall Bowers
2980f0508c
Rework loading images from files ( #7088 )
...
This PR is a follow-up to #7084 , where I noted that I wasn't satisfied
with using `SharedUri` to represent both URIs and paths on the local
filesystem:
> I'm still not entirely happy with this naming, as the file paths that
we can store in here are not _really_ URIs, as they are lacking a
protocol.
>
> I want to explore changing `SharedUri` / `SharedUrl` back to alway
storing a URL and treat local filepaths differently, as it seems we're
conflating two different concerns under the same umbrella, at the
moment.
`SharedUri` has now been reverted to just containing a `SharedString`
with a URI.
`ImageSource` now has a new `File` variant that is used to load an image
from a `PathBuf`.
Release Notes:
- N/A
2024-01-30 11:26:02 -05:00
..
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:26:02 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:26:02 -05:00
2024-01-30 11:26:02 -05:00
2024-01-29 23:47:20 -05:00
2024-01-27 13:51:16 +01:00
2024-01-29 23:50:31 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 10:47:39 +01:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-27 13:38:55 +01:00
2024-01-30 16:10:35 +01:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:26:02 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 10:17:06 +02:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:40:33 +02:00
2024-01-29 21:01:02 -08:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:26:02 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:26:02 -05:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 10:47:39 +01:00
2024-01-29 23:47:20 -05:00
2024-01-29 23:47:20 -05:00
2024-01-30 11:50:15 +02:00
2024-01-29 23:50:31 -05:00