From a9b8edd691e4cb0eb227782c223a26231cc2a80c Mon Sep 17 00:00:00 2001 From: Beef Date: Sat, 1 Apr 2023 16:00:50 +0100 Subject: [PATCH] [Global] Fix for 173.14 --- src/lib/debug.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/debug.ts b/src/lib/debug.ts index 908724d..9ba126d 100644 --- a/src/lib/debug.ts +++ b/src/lib/debug.ts @@ -50,7 +50,8 @@ export function getDebugInfo() { // Discord //! 173.13 renamed this to 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 const hermesProps = window.HermesInternal.getRuntimeProperties();