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); } ); });