Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading images from
file://
URIs (#12757)
## Description Fixes the loading of images via `file://` URIs, which is what is used for asset files in (unpackaged) Fabric apps. ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why To fix image loading. Resolves #12755 ### What The API we use to load the image can support `file://` URI's directly, we were doing a bunch of (now no longer necessary?) path processing that ultimately wasn't working. This change removes that processing. ## Screenshots Before: ![image](https://github.com/microsoft/react-native-windows/assets/10852185/dd634958-e2a0-4edf-9a60-5c5c74c1d2e6) After: ![image](https://github.com/microsoft/react-native-windows/assets/10852185/5a51785b-0829-4d3a-8210-5fa5257f9ad0) ## Testing Verified images started loading. ## Changelog Should this change be included in the release notes: _yes_ Fixed loading images from `file://` URIs (as used for assets in on-disk bundles)
- Loading branch information