From a45eeea17a330ccac391b5f0fc1a6f74b6b9e8ee Mon Sep 17 00:00:00 2001 From: dhruvtailor7 Date: Sun, 28 Aug 2022 09:23:42 -0700 Subject: [PATCH] fix: asset source resolver typo (#34520) Summary: Small typo fix. ## Changelog [General] [Fixed] - Typo in AssetSourceResolver Pull Request resolved: https://github.com/facebook/react-native/pull/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 --- Libraries/Image/AssetSourceResolver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Image/AssetSourceResolver.js b/Libraries/Image/AssetSourceResolver.js index 61b7c10794d317..3719def0098d5b 100644 --- a/Libraries/Image/AssetSourceResolver.js +++ b/Libraries/Image/AssetSourceResolver.js @@ -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 {