Fix broken HermesExecutor compilation (#43932)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43932

Converting to Kotlin the `RuntimeConfig` class caused the project to stop compiling.

Changelog:
[Internal] [Changed] - Fix broken HermesExecutor compilation

Reviewed By: tdn120

Differential Revision: D55805572

fbshipit-source-id: bc53c91280d65ecaf2605009b17045200669f240
This commit is contained in:
Nicola Corti
2024-04-05 12:19:22 -07:00
committed by Facebook GitHub Bot
parent 0a7984435f
commit f14746f48b
@@ -34,7 +34,7 @@ public class HermesExecutor extends JavaScriptExecutor {
super(
config == null
? initHybridDefaultConfig(enableDebugger, debuggerName)
: initHybrid(enableDebugger, debuggerName, config.heapSizeMB));
: initHybrid(enableDebugger, debuggerName, config.getHeapSizeMB()));
}
@Override