[Main] Revert "execute Discord how they wish, execute Vendetta asyncronously"
This reverts commit 18fbf6da49.
This commit is contained in:
parent
db8890626e
commit
0619eaa176
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ class LoadHook: ClassHook<RCTCxxBridge> {
|
|||
group.wait()
|
||||
|
||||
os_log("Executing original script", log: vendettaLog, type: .info)
|
||||
orig.executeApplicationScript(script, url: url, async: async)
|
||||
orig.executeApplicationScript(script, url: url, async: false)
|
||||
|
||||
if let themeString = try? String(
|
||||
contentsOf: documentDirectory.appendingPathComponent("vendetta_theme.json"))
|
||||
|
|
@ -97,7 +97,7 @@ class LoadHook: ClassHook<RCTCxxBridge> {
|
|||
|
||||
if vendetta != nil {
|
||||
os_log("Executing vendetta.js", log: vendettaLog, type: .info)
|
||||
orig.executeApplicationScript(vendetta!, url: source, async: true)
|
||||
orig.executeApplicationScript(vendetta!, url: source, async: false)
|
||||
} else {
|
||||
os_log("Unable to fetch vendetta.js", log: vendettaLog, type: .error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue