File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class AssetSourceResolver {
7979 this . drawableFolderInBundle ( ) :
8080 this . resourceIdentifierWithoutScale ( ) ;
8181 } else {
82- return this . scaledAssetURLInScript ( ) ;
82+ return this . scaledAssetURLNearBundle ( ) ;
8383 }
8484 }
8585
@@ -104,10 +104,10 @@ class AssetSourceResolver {
104104 }
105105
106106 /**
107- * Resolves to where the script is running from, with a scaled asset filename
107+ * Resolves to where the bundle is running from, with a scaled asset filename
108108 * E.g. 'file:///sdcard/bundle/assets/AwesomeModule/icon@2x.png'
109109 */
110- scaledAssetURLInScript ( ) : ResolvedAssetSource {
110+ scaledAssetURLNearBundle ( ) : ResolvedAssetSource {
111111 const path = this . jsbundleUrl || 'file://' ;
112112 return this . fromSource ( path + getScaledAssetPath ( this . asset ) ) ;
113113 }
You can’t perform that action at this time.
0 commit comments