From ee54f7ea678acdc074ffc55deb57ca6842292c96 Mon Sep 17 00:00:00 2001 From: Nadeem Majumder <86847959+nmajumder12@users.noreply.github.com> Date: Fri, 10 May 2024 21:08:42 -0400 Subject: [PATCH] Update MLKitEntityExtraction.js --- MLKitEntityExtraction.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MLKitEntityExtraction.js b/MLKitEntityExtraction.js index b184635..0335752 100644 --- a/MLKitEntityExtraction.js +++ b/MLKitEntityExtraction.js @@ -120,11 +120,7 @@ const isModelDownloaded = (language) => { NativeMLKitEntityExtraction.isModelDownloaded( isAndroid ? ENTITY_LANG_TAGS[language] : LANG_TAGS[language], (v) => { - if (Platform.OS === 'ios') { - resolver(v === 1 ? true : false); - } else { - resolver(v); - } + resolver(v); } ); });