Skip to content

Commit

Permalink
fix: asset source resolver typo (facebook#34520)
Browse files Browse the repository at this point in the history
Summary:
Small typo fix.

## Changelog

[General] [Fixed] - Typo in AssetSourceResolver

Pull Request resolved: facebook#34520

Test Plan: No test plan is required. Just check the file changes.

Reviewed By: NickGerleman

Differential Revision: D39087572

Pulled By: cipolleschi

fbshipit-source-id: a79253d2486ee21fbf5683177b21ec534607d65d
  • Loading branch information
dhruvtailor7 authored and raykle committed Aug 29, 2022
1 parent 0b1fb44 commit 61dd151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Image/AssetSourceResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function getScaledAssetPath(asset: PackagerAsset): string {
*/
function getAssetPathInDrawableFolder(asset: PackagerAsset): string {
const scale = pickScale(asset.scales, PixelRatio.get());
const drawbleFolder = getAndroidResourceFolderName(asset, scale);
const drawableFolder = getAndroidResourceFolderName(asset, scale);
const fileName = getAndroidResourceIdentifier(asset);
return drawbleFolder + '/' + fileName + '.' + asset.type;
return drawableFolder + '/' + fileName + '.' + asset.type;
}

class AssetSourceResolver {
Expand Down

0 comments on commit 61dd151

Please sign in to comment.