From 49408ca137a373b41e9e07d55d35917374c3f3ea Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Tue, 9 Apr 2024 17:14:23 +0200 Subject: [PATCH] Update SafeAreaContextPackage.kt (#488) --- .../com/th3rdwave/safeareacontext/SafeAreaContextPackage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaContextPackage.kt b/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaContextPackage.kt index 60637308..61b66f9e 100644 --- a/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaContextPackage.kt +++ b/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaContextPackage.kt @@ -33,7 +33,7 @@ class SafeAreaContextPackage : TurboReactPackage() { /** TODO remove the parameter once support for RN < 0.73 is dropped */ reactModule.hasConstants, reactModule.isCxxModule, - TurboModule::class.java.isAssignableFrom(moduleClass)) + BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) } return ReactModuleInfoProvider { reactModuleInfoMap } }