[Global] Fixes for 173.13
This commit is contained in:
parent
ac4da3032e
commit
a98cf94f4c
3 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,8 @@ export const versionHash: string = __vendettaVersion;
|
|||
|
||||
export function getDebugInfo() {
|
||||
// Discord
|
||||
const InfoDictionaryManager = RN.NativeModules.InfoDictionaryManager;
|
||||
//! 173.13 renamed this to RTNClientInfoManager.
|
||||
const InfoDictionaryManager = RN.NativeModules.InfoDictionaryManager ?? RN.NativeModules.RTNClientInfoManager;
|
||||
const DCDDeviceManager = RN.NativeModules.DCDDeviceManager;
|
||||
|
||||
// Hermes
|
||||
|
@ -116,4 +117,4 @@ export function getDebugInfo() {
|
|||
}
|
||||
)!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue