This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,35 @@
// Metro module 16728 (f16729).
import { AccountLinkManager } from "../AccountLinkManager";
import { subscribeToIsInAppBrowserOpen } from "../../links/native/BrowserManager";
let prototype, AccountLinkManagerNative;
const AccountLinkManagerNative2 = class AccountLinkManagerNative extends AccountLinkManager {
unsubscribeBrowser = null;
isBrowserOpen = false;
_initialize() {
Reflect.get(Object.getPrototypeOf(prototype), "_initialize", this).call(this);
this.unsubscribeBrowser = subscribeToIsInAppBrowserOpen((a0, a1) => {
this.isBrowserOpen = a0;
if (a1) {
this.evaluatePending();
}
});
}
_terminate() {
Reflect.get(Object.getPrototypeOf(prototype), "_terminate", this).call(this);
const unsubscribeBrowser = this.unsubscribeBrowser;
if (unsubscribeBrowser != null) {
unsubscribeBrowser.call(this);
}
this.unsubscribeBrowser = null;
}
evaluatePending() {
if (!this.isBrowserOpen) {
Reflect.get(Object.getPrototypeOf(prototype), "evaluatePending", this).call(this);
}
}
};
const prototype2 = AccountLinkManagerNative2.prototype;
AccountLinkManagerNative = AccountLinkManagerNative2;
prototype = prototype2;
const accountLinkManagerNative = new AccountLinkManagerNative();
export default accountLinkManagerNative;