[Global] Fix for 173.14

This commit is contained in:
Beef 2023-04-01 16:00:50 +01:00
parent 748640af56
commit a9b8edd691

View file

@ -50,7 +50,8 @@ export function getDebugInfo() {
// Discord // Discord
//! 173.13 renamed this to RTNClientInfoManager. //! 173.13 renamed this to RTNClientInfoManager.
const InfoDictionaryManager = RN.NativeModules.InfoDictionaryManager ?? RN.NativeModules.RTNClientInfoManager; const InfoDictionaryManager = RN.NativeModules.InfoDictionaryManager ?? RN.NativeModules.RTNClientInfoManager;
const DCDDeviceManager = RN.NativeModules.DCDDeviceManager; //! 173.14 renamed this to RTNDeviceManager.
const DCDDeviceManager = RN.NativeModules.DCDDeviceManager ?? RN.NativeModules.RTNDeviceManager;
// Hermes // Hermes
const hermesProps = window.HermesInternal.getRuntimeProperties(); const hermesProps = window.HermesInternal.getRuntimeProperties();