File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/scratch-gui/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class LibraryItemComponent extends React.PureComponent {
2929 // we don't have the assets locally and want to directly download them from
3030 // the assets service.
3131 // TODO: Abstract this logic in the `ScratchImage` component itself.
32- const url = imageSource . rawUrl ?? imageSource . assetServiceUri ;
32+ const url = imageSource . uri ?? imageSource . assetServiceUri ;
3333
3434 if ( this . props . platform === PLATFORM . ANDROID ||
3535 this . props . platform === PLATFORM . DESKTOP ) {
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ ScratchImage.ImageSourcePropType = PropTypes.oneOfType([
138138 assetServiceUri : PropTypes . string . isRequired
139139 } ) ,
140140 PropTypes . shape ( {
141- rawUrl : PropTypes . string . isRequired
141+ uri : PropTypes . string . isRequired
142142 } )
143143] ) ;
144144
You can’t perform that action at this time.
0 commit comments