Skip to content

Commit

Permalink
fix: asset source resolver typo (#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: #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 facebook-github-bot committed Aug 28, 2022
1 parent ed21a3e commit a45eeea
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 a45eeea

Please sign in to comment.