Skip to content

Commit

Permalink
Temporarily addressing microsoft#2452
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed May 21, 2019
1 parent 7111f39 commit 4b21fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vnext/ReactUWP/Views/ImageViewManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ namespace react { namespace uwp {
return;
}

if (sources[0].packagerAsset && uriString.find("assets") == 0)
uriString.replace(0, 6, "ms-appx://");
if (sources[0].packagerAsset && uriString.find("file://") == 0)
uriString.replace(0, 7, "ms-appx:///Bundle/");

bool needsDownload = false;

Expand Down

0 comments on commit 4b21fb0

Please sign in to comment.